Leadtools.Services.DataContracts Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
FromRectangle Method
See Also 
Leadtools.Services.DataContracts Namespace > LeadRectangle Structure : FromRectangle Method



rect
A Rectangle that specifies the location and size of the LeadRectangle.
rect
A Rectangle that specifies the location and size of the LeadRectangle.
Returns a LeadRectangle structure with the specified Rectangle.

Syntax

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

Parameters

rect
A Rectangle that specifies the location and size of the LeadRectangle.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Applications developed with LEADTOOLS WCF components require runtime licenses. Server licensing is required for applications on a server. For more information, refer to: Imaging Pro/Document/Medical Features