The LogicalRectangle Constructor(Double,Double,Double,Double,LogicalUnit) is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the LogicalRectangle class with the specified location, size, and unit.Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal x As Double, _ ByVal y As Double, _ ByVal width As Double, _ ByVal height As Double, _ ByVal unit As LogicalUnit _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim x As Double Dim y As Double Dim width As Double Dim height As Double Dim unit As LogicalUnit Dim instance As New LogicalRectangle(x, y, width, height, unit) |
C++/CLI | |
---|---|
public: LogicalRectangle( double x, double y, double width, double height, LogicalUnit unit ) |
Parameters
- x
- The x-coordinate of the upper-left corner of the LogicalRectangle.
- y
- The y-coordinate of the upper-left corner of the LogicalRectangle.
- width
- The width of the LogicalRectangle.
- height
- The height of the LogicalRectangle.
- unit
- Specifies the unit of measurement of the LogicalRectangle.
For an example, refer to Equals.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7