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.
| 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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code