LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

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






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
)
 function Leadtools.Annotations.AnnRectangle.FromLTRB(Single,Single,Single,Single,AnnUnit)( 
   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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnRectangle Structure
AnnRectangle Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.