LEADTOOLS Forms (Leadtools.Forms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
LogicalRectangle Constructor(Double,Double,Double,Double,LogicalUnit)
See Also 
Leadtools.Forms Namespace > LogicalRectangle Structure > LogicalRectangle Constructor : LogicalRectangle Constructor(Double,Double,Double,Double,LogicalUnit)



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.

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.

Syntax

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# 
public LogicalRectangle( 
   double x,
   double y,
   double width,
   double height,
   LogicalUnit 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.

Example

For an example, refer to Equals.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features