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 SourceUnitStruct(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 SourceUnit
Declaration
public GUnits Unit
Field Value
Type | Description |
---|---|
GUnits |
Properties
| Improve this Doc View SourceFactor
Declaration
public readonly double Factor { get; }
Property Value
Type | Description |
---|---|
System.Double |
Literal
Declaration
public readonly string Literal { get; }
Property Value
Type | Description |
---|---|
System.String |