LEADTOOLS Forms (Leadtools.Forms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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.

The LogicalRectangle Constructor(LogicalPoint,LogicalSize) 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 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 New 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 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