Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal x As Double, _ ByVal y As Double, _ ByVal width As Double, _ ByVal height As Double, _ ByVal unit As LogicalUnit _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C++/CLI | |
---|---|
public: LogicalRectangle( double x, double y, double width, double height, LogicalUnit unit ) |
Parameters
- x
- The x-coordinate of the upper-left corner of the LogicalRectangle.
- y
- The y-coordinate of the upper-left corner of the LogicalRectangle.
- width
- The width of the LogicalRectangle.
- height
- The height of the LogicalRectangle.
- unit
- Specifies the unit of measurement of the LogicalRectangle.
For an example, refer to Equals.
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family