Xceed Workbooks for .NET v2.0 Documentation
Position Constructor


Xceed.Workbooks.NET Assembly > Xceed.Workbooks.NET Namespace > Position Class : Position Constructor
Represents the value of the horizontal (X) axis.
Represents the value of the vertical (Y) axis.
Represents the type of unit used for the given values. The default value is Inch.
Determines if negative values are accepted. The default value is false, so no negative numbers are allowed by default.
Syntax
'Declaration
 
Public Function New( _
   ByVal x As Double, _
   ByVal y As Double, _
   Optional ByVal measureUnit As Units, _
   Optional ByVal isUnsigned As Boolean _
)
'Usage
 
Dim x As Double
Dim y As Double
Dim measureUnit As Units
Dim isUnsigned As Boolean
 
Dim instance As New Position(x, y, measureUnit, isUnsigned)
public Position( 
   double x,
   double y,
   Units measureUnit,
   bool isUnsigned
)

Parameters

x
Represents the value of the horizontal (X) axis.
y
Represents the value of the vertical (Y) axis.
measureUnit
Represents the type of unit used for the given values. The default value is Inch.
isUnsigned
Determines if negative values are accepted. The default value is false, so no negative numbers are allowed by default.
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