Leadtools.Forms Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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.
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 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 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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