RectangleFFromLTRB Method |
Creates a System.Drawing.RectangleF structure with upper-left corner and
lower-right corner at the specified locations.
Namespace: Easymap.AddIn.Common.GraphicsAssembly: EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.3.0.0
Syntaxpublic static RectangleF FromLTRB(
float left,
float top,
float right,
float bottom
)
Public Shared Function FromLTRB (
left As Single,
top As Single,
right As Single,
bottom As Single
) As RectangleF
Parameters
- left Single
- The x-coordinate of the upper-left corner of the rectangular region.
- top Single
- The y-coordinate of the upper-left corner of the rectangular region.
- right Single
- The x-coordinate of the lower-right corner of the rectangular region.
- bottom Single
- The y-coordinate of the lower-right corner of the rectangular region.
Return Value
RectangleF
The new System.Drawing.RectangleF that this method creates.
See Also