Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / Position Class / MeasureUnit Property


In This Topic
    MeasureUnit Property (Position)
    In This Topic
    Gets or sets the Units associated with the value of the X and Y properties.
    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

    The default value is Inch.

    Note that 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