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.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7