Search Results for

    Show / Hide Table of Contents

    Struct UnitStruct

    Structure to save info about the unit

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: editdocuments
    Assembly: editdocuments.dll
    Syntax
    public struct UnitStruct

    Constructors

    | Improve this Doc View Source

    UnitStruct(GUnits, String, Double)

    Create the unit structure

    Declaration
    public UnitStruct(GUnits unit, string literal, double factor)
    Parameters
    Type Name Description
    GUnits unit

    Enter the Unit from Gunit enum

    System.String literal

    Enter the literal representation

    System.Double factor

    Enter the conversion factor relative to inches

    Fields

    | Improve this Doc View Source

    Unit

    Declaration
    public GUnits Unit
    Field Value
    Type Description
    GUnits

    Properties

    | Improve this Doc View Source

    Factor

    Declaration
    public readonly double Factor { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Literal

    Declaration
    public readonly string Literal { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright @ 2022 Luighi Viton-Zorrilla, lv@luighiviton.com
    Generated with DocFX