Xceed Workbooks for .NET v1.4 Documentation
MeasureUnit Property (Position)


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Position Class : MeasureUnit Property
Represents the type of unit associated with the numbers input in the X and Y properties. The default value is Inch.
Syntax
'Declaration

 

Public Property MeasureUnit As Units
'Usage

 

Dim instance As Position

Dim value As Units

 

instance.MeasureUnit = value

 

value = instance.MeasureUnit
public Units MeasureUnit {get; set;}
Remarks
Changing the value of this property will convert the numerical values input in the X and Y properties following a 1:1 ratio. This means that 1 inch will be converted to 1 cm if the value of this property is changed from inches to centimeters.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Position Class
Position Members