The FromLTRB(Single,Single,Single,Single) Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- 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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Shared Function FromLTRB( _ ByVal left As Single, _ ByVal top As Single, _ ByVal right As Single, _ ByVal bottom As Single _ ) As AnnRectangle |
Visual Basic (Usage) | Copy Code |
---|---|
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) |
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.The unit of measure will be set to the default (Pixel).
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7