Creates a
AnnRectangle structure with the upper-left corner and the lower-right corner at the specified locations.
public static AnnRectangle FromLTRB(
float ,
float ,
float ,
float
)
'Declaration
Public Overloads Shared Function FromLTRB( _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single _
) As AnnRectangle
'Usage
Dim left As Single
Dim top As Single
Dim right As Single
Dim bottom As Single
Dim value As AnnRectangle
value = AnnRectangle.FromLTRB(left, top, right, bottom)
public:
static AnnRectangle FromLTRB(
float ,
float ,
float ,
float
)
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.
Return Value
The new
AnnRectangle structure that this method creates.