Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
FromLTRB(Single,Single,Single,Single) Method
See Also 
Leadtools.Annotations Namespace > AnnRectangle Structure > FromLTRB Method : FromLTRB(Single,Single,Single,Single) Method




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.
Creates a AnnRectangle structure with the upper-left corner and the lower-right corner at the specified locations.

Syntax

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)
C# 
public static AnnRectangle FromLTRB( 
   float left,
   float top,
   float right,
   float bottom
)
Managed Extensions for C++ 
public: static AnnRectangle FromLTRB( 
   float left,
   float top,
   float right,
   float bottom
) 
C++/CLI 
public:
static AnnRectangle FromLTRB( 
   float left,
   float top,
   float right,
   float 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.

Remarks

The unit of measure will be set to the default (Pixel).

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features