Click or drag to resize
LengthUnit Enumeration
Represents the measurement unit for measuring length or distance.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version:
public enum LengthUnit
  Member nameValueDescription
Point0 Point (1 inch is equal as 72 points).
Pixel1 Pixel (1 inch is equal as 96 pixels).
Inch2 Inch (1 inch is equal as 72 points).
Millimeter3 Millimeter (10 millimeters are equal as 1¸centimeter).
Centimeter4 Centimeter (1 inch is around 2.54 centimeters).
Pica5 Pica (1 pica is equal as 12 points).
Twip6 Twip (twentieth of a point, 1 point is equal as 20 twips).
Emu7 English Metric Unit (1 point is equal as 12,700 EMUs)

All dimensional formatting properties in GemBox.Document are represented in Points.

To convert values between various LengthUnits, use LengthUnitConverter.

See Also