Class LUnits
- Namespace
- VectorDraw.Geometry
- Assembly
- VectorDraw.Geometry.dll
Implements all functionality for presentation of linear units.
public class LUnits : BaseObject, IDisposable, IBaseObject, IVDSerialise, ICloneable, IFromString
- Inheritance
-
LUnits
- Implements
- Inherited Members
Constructors
- LUnits()
Initializes the LUnits object.
- LUnits(LUnitType, short, LZeroSuppression)
Initializes the LUnits object.
Fields
- DefaultTypeConverter
The defualt units used to convert no document register objects from string to double.
Properties
- Precision
Represents the decimal precision.
- UType
Represents the linear units type.
- ZerosSuppression
Represents the zeros suppression type.
Methods
- Clone()
Creates a clone of this object
- DeSerialize(DeSerializer, string, object)
This Function is called foreach field name of the LUnits object when opening in vdml format.
- FormatDecimalPrecision(double, short)
Formates a specified double into a string using a specific precision.
- FormatDecimalPrecision(double, short, LZeroSuppression)
Formates a specified double into a string using a specific precision.
- FormatLength(double)
Formats a double using the object's LUnits parameters.
- FromString(string)
Sets the property values of the object from a given string.
- LengthFromString(string)
Converts a formatted string into a double.
- Serialize(Serializer)
This Function is called when saving the LUnits object to vdml format.
- ToString()
Gets a System.String that represents the properties of this Object.
- ToString(Serializer)
Sets the object's properties using a ToString string, according to the Serializer precision