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



left
The x-coordinate of the upper-left corner of the LeadRect.
top
The y-coordinate of the upper-left corner of the LeadRect.
right
The x-coordinate of the lower-right corner of the LeadRect.
bottom
The y-coordinate of the lower-right corner of the LeadRect.
left
The x-coordinate of the upper-left corner of the LeadRect.
top
The y-coordinate of the upper-left corner of the LeadRect.
right
The x-coordinate of the lower-right corner of the LeadRect.
bottom
The y-coordinate of the lower-right corner of the LeadRect.
Returns a LeadRect structure with the specified edge locations. Supported in Silverlight, Windows Phone 7

Syntax

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

Parameters

left
The x-coordinate of the upper-left corner of the LeadRect.
top
The y-coordinate of the upper-left corner of the LeadRect.
right
The x-coordinate of the lower-right corner of the LeadRect.
bottom
The y-coordinate of the lower-right corner of the LeadRect.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7

See Also