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



rect
A Leadtools.LeadRect that specifies the location and size of the LogicalRectangle in Leadtools.Forms.LogicalUnit.Pixel.

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

rect
A Leadtools.LeadRect that specifies the location and size of the LogicalRectangle in Leadtools.Forms.LogicalUnit.Pixel.
Returns a LogicalRectangle structure with the specified Leadtools.LeadRect in Leadtools.Forms.LogicalUnit.Pixel.

Syntax

Visual Basic (Declaration) 
Public Shared Function FromRectangle( _
   ByVal rect As LeadRect _
) As LogicalRectangle
Visual Basic (Usage)Copy Code
Dim rect As LeadRect
Dim value As LogicalRectangle
 
value = LogicalRectangle.FromRectangle(rect)
C# 
public static LogicalRectangle FromRectangle( 
   LeadRect rect
)
C++/CLI 
public:
static LogicalRectangle FromRectangle( 
   LeadRect rect
) 

Parameters

rect
A Leadtools.LeadRect that specifies the location and size of the LogicalRectangle in Leadtools.Forms.LogicalUnit.Pixel.

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