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



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 LeadRect class with the specified location and size. Supported in Silverlight, Windows Phone 7

Syntax

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

Parameters

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

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also