Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Enum LogicalUnit Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LogicalUnit |
C# | |
---|---|
[SerializableAttribute()] public enum LogicalUnit : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[SerializableAttribute()] public enum class LogicalUnit : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
Centimeter | Specifies the micrometer (1/100 meter) as the unit of measure. |
Display | Specifies 1/75 inch as the unit of measure. |
Document | Specifies 1/300 inch as the unit of measure. |
Feet | Specifies feet as the unit of measure. |
Inch | Specifies the inch as the unit of measure. |
Meter | Specifies the meter as the unit of measure. |
Micrometer | Specifies the micrometer (1/1000 millimeter) as the unit of measure. |
Millimeter | Specifies the millimeter (1/1000 meter) as the unit of measure. |
Pixel | Specifies a device pixel as the unit of measure. |
Point | Specifies a printer's point (1/72 inch) as the unit of measure. |
Twip | Specifies the twip (TWentIeth of a Point) as the unit of measure. |
Yard | Specifies the yard as the unit of measure. |
For an example, refer to LogicalSize.Convert.
LogicalUnit provides different metric options to the developer to represent the units of measurement that is being used in the forms design. LogicalUnit is used in different classes/structures such as; LogicalSize, LogicalPoint, LogicalRectangle, and LogicalLength.
System.Object
System.ValueType
System.Enum
Leadtools.Forms.LogicalUnit
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7