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) |
Parameters
- location
- The coordinates of the upper-left corner of the rectangle.
- size
- The width and height of the rectangle.
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