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(LogicalPoint,LogicalSize)
See Also 
Leadtools.Forms Namespace > LogicalRectangle Structure > LogicalRectangle Constructor : LogicalRectangle Constructor(LogicalPoint,LogicalSize)



location
The coordinates of the upper-left corner of the rectangle.
size
The width and height of the rectangle.
Initializes a new instance of the LogicalRectangle class with the specified location and size.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal location As LogicalPoint, _
   ByVal size As LogicalSize _
)
Visual Basic (Usage)Copy Code
Dim location As LogicalPoint
Dim size As LogicalSize
 
Dim instance As LogicalRectangle(location, size)
C# 
public LogicalRectangle( 
   LogicalPoint location,
   LogicalSize size
)
C++/CLI 
public:
LogicalRectangle( 
   LogicalPoint location,
   LogicalSize size
)

Parameters

location
The coordinates of the upper-left corner of the rectangle.
size
The width and height of the rectangle.

Remarks

The location and size units should be equal. If they are different the size will be converted to location's unit of measurement. The new rectangle will have the same units as location.

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