Leadtools.Forms Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Enum
Visual Basic (Usage)Copy Code
Dim instance As LogicalUnit
C# 
[SerializableAttribute()]
public enum LogicalUnit : Enum 
C++/CLI 
[SerializableAttribute()]
public enum class LogicalUnit : public Enum 

Members

MemberDescription
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.

Example

For an example, refer to LogicalSize.Convert.

Remarks

LogicalUnitprovides different metric options to the developer to represent his measurements in the unit that is he is using his designing his forms. 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 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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