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

Namespace: GemBox.Spreadsheet
Assembly: GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1000
Syntax
public enum LengthUnit
Members
  Member nameValueDescription
Pixel0 Pixel (1 inch is equal as 96 pixels).
Point1 Point (1 inch is equal as 72 points).
Inch2 Inch.
Millimeter3 Millimeter (10 millimeters are equal as 1 centimeter).
Centimeter4 Centimeter (1 inch is around 2.54 centimeters).
Twip5 Twip (twentieth of a point, 1 point is equal as 20 twips).
Emu6 English Metric Unit (1 point is equal as 12,700 EMUs)
ZeroCharacterWidth256thPart7 Unit is 1/256th of the width of the zero character in default font (width of zero character is fixed to 7 pixel).
ZeroCharacterWidth8 Unit is the width of the zero character in default font (width of zero character is fixed to 7 pixel).
Remarks

To convert values between various LengthUnits, use LengthUnitConverter.

See Also