Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal location As LogicalPoint, _ ByVal size As LogicalSize _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family