LEADTOOLS Forms (Leadtools.Forms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
FromLTRB Method
See Also 
Leadtools.Forms Namespace > LogicalRectangle Structure : FromLTRB Method



left
The x-coordinate of the upper-left corner of the LogicalRectangle.
top
The y-coordinate of the upper-left corner of the LogicalRectangle.
right
The x-coordinate of the lower-right corner of the LogicalRectangle.
bottom
The y-coordinate of the lower-right corner of the LogicalRectangle.
unit
Specifies the unit of measurement of the LogicalRectangle.

The FromLTRB Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

left
The x-coordinate of the upper-left corner of the LogicalRectangle.
top
The y-coordinate of the upper-left corner of the LogicalRectangle.
right
The x-coordinate of the lower-right corner of the LogicalRectangle.
bottom
The y-coordinate of the lower-right corner of the LogicalRectangle.
unit
Specifies the unit of measurement of the LogicalRectangle.
Returns a LogicalRectangle structure with the specified edge locations and unit of measure.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromLTRB( _
   ByVal left As Double, _
   ByVal top As Double, _
   ByVal right As Double, _
   ByVal bottom As Double, _
   ByVal unit As LogicalUnit _
) As LogicalRectangle
Visual Basic (Usage)Copy Code
Dim left As Double
Dim top As Double
Dim right As Double
Dim bottom As Double
Dim unit As LogicalUnit
Dim value As LogicalRectangle
 
value = LogicalRectangle.FromLTRB(left, top, right, bottom, unit)
C# 
public static LogicalRectangle FromLTRB( 
   double left,
   double top,
   double right,
   double bottom,
   LogicalUnit unit
)
C++/CLI 
public:
static LogicalRectangle FromLTRB( 
   double left,
   double top,
   double right,
   double bottom,
   LogicalUnit unit
) 

Parameters

left
The x-coordinate of the upper-left corner of the LogicalRectangle.
top
The y-coordinate of the upper-left corner of the LogicalRectangle.
right
The x-coordinate of the lower-right corner of the LogicalRectangle.
bottom
The y-coordinate of the lower-right corner of the LogicalRectangle.
unit
Specifies the unit of measurement of the LogicalRectangle.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features