Search Results for

    Show / Hide Table of Contents

    Class DocUnit

    Inheritance
    System.Object
    DocUnit
    FontSize
    Implements
    IDocUnit
    Namespace: IronPPT.Models
    Assembly: IronPPT.dll
    Syntax
    public class DocUnit : Object, IDocUnit

    Constructors

    DocUnit()

    Declaration
    public DocUnit()

    Fields

    _percentage

    Declaration
    protected Percentage _percentage
    Field Value
    Type Description
    Percentage

    _value

    Declaration
    protected Nullable<long> _value
    Field Value
    Type Description
    System.Nullable<System.Int64>

    Properties

    CM

    Declaration
    public Nullable<double> CM { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    EMU

    Declaration
    public Nullable<long> EMU { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Inch

    Declaration
    public Nullable<double> Inch { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    MM

    Declaration
    public Nullable<double> MM { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Percentage

    Declaration
    public Percentage Percentage { get; set; }
    Property Value
    Type Description
    Percentage

    Point

    Declaration
    public Nullable<double> Point { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Twips

    Declaration
    public Nullable<double> Twips { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Double>

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    Implicit(Percentage to DocUnit)

    Declaration
    public static implicit operator DocUnit(Percentage value)
    Parameters
    Type Name Description
    Percentage value
    Returns
    Type Description
    DocUnit

    Implicit(Double to DocUnit)

    Declaration
    public static implicit operator DocUnit(double value)
    Parameters
    Type Name Description
    System.Double value
    Returns
    Type Description
    DocUnit

    Implements

    IDocUnit
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronPPT to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPPT free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.