- left
- The x-coordinate of the upper-left corner of the rectangular region.
- top
- The y-coordinate of the upper-left corner of the rectangular region.
- right
- The x-coordinate of the lower-right corner of the rectangular region.
- bottom
- The y-coordinate of the lower-right corner of the rectangular region.
- unit
- The AnnUnit value indicating the unit of measure for the rectangle.
Visual Basic (Declaration) | |
---|---|
Overloads Public Shared Function FromLTRB( _ ByVal left As Single, _ ByVal top As Single, _ ByVal right As Single, _ ByVal bottom As Single, _ ByVal unit As AnnUnit _ ) As AnnRectangle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static AnnRectangle FromLTRB( float left, float top, float right, float bottom, AnnUnit unit ) |
C++/CLI | |
---|---|
public: static AnnRectangle FromLTRB( float left, float top, float right, float bottom, AnnUnit unit ) |
Parameters
- left
- The x-coordinate of the upper-left corner of the rectangular region.
- top
- The y-coordinate of the upper-left corner of the rectangular region.
- right
- The x-coordinate of the lower-right corner of the rectangular region.
- bottom
- The y-coordinate of the lower-right corner of the rectangular region.
- unit
- The AnnUnit value indicating the unit of measure for the rectangle.
Return Value
The new AnnRectangle that this method creates.Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family