LEADTOOLS Annotations (Leadtools.Annotations assembly)

FromLTRB(Single,Single,Single,Single,AnnUnit) Method

Show in webframe





The x-coordinate of the upper-left corner of the rectangular region.
The y-coordinate of the upper-left corner of the rectangular region.
The x-coordinate of the lower-right corner of the rectangular region.
The y-coordinate of the lower-right corner of the rectangular region.
The AnnUnit value indicating the unit of measure for the rectangle.
Creates a AnnRectangle structure with the specified upper-left corner and lower-right corner and the specified unit of measure.
Syntax
public static AnnRectangle FromLTRB( 
   float left,
   float top,
   float right,
   float bottom,
   AnnUnit unit
)
'Declaration
 
Public Overloads Shared Function FromLTRB( _
   ByVal left As Single, _
   ByVal top As Single, _
   ByVal right As Single, _
   ByVal bottom As Single, _
   ByVal unit As AnnUnit _
) As AnnRectangle
'Usage
 
Dim left As Single
Dim top As Single
Dim right As Single
Dim bottom As Single
Dim unit As AnnUnit
Dim value As AnnRectangle
 
value = AnnRectangle.FromLTRB(left, top, right, bottom, unit)

            

            
public:
static AnnRectangle FromLTRB( 
   float left,
   float top,
   float right,
   float bottom,
   AnnUnit unit
) 

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.
unit
The AnnUnit value indicating the unit of measure for the rectangle.

Return Value

The new AnnRectangle that this method creates.
Requirements

Target Platforms

See Also

Reference

AnnRectangle Structure
AnnRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.