LEADTOOLS Forms (Leadtools.Forms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
LogicalUnit Enumeration
See Also  
Leadtools.Forms Namespace : LogicalUnit Enumeration



Represents the unit of measurement for lengths and positions.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Enum LogicalUnit 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As LogicalUnit
C# 
[SerializableAttribute()]
public enum LogicalUnit : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[SerializableAttribute()]
public enum class LogicalUnit : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
CentimeterSpecifies the micrometer (1/100 meter) as the unit of measure.
DisplaySpecifies 1/75 inch as the unit of measure.
DocumentSpecifies 1/300 inch as the unit of measure.
FeetSpecifies feet as the unit of measure.
InchSpecifies the inch as the unit of measure.
MeterSpecifies the meter as the unit of measure.
MicrometerSpecifies the micrometer (1/1000 millimeter) as the unit of measure.
MillimeterSpecifies the millimeter (1/1000 meter) as the unit of measure.
PixelSpecifies a device pixel as the unit of measure.
PointSpecifies a printer's point (1/72 inch) as the unit of measure.
TwipSpecifies the twip (TWentIeth of a Point) as the unit of measure.
YardSpecifies the yard as the unit of measure.

Example

For an example, refer to LogicalSize.Convert.

Remarks

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Forms.LogicalUnit

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features