The FromSize Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- size
- Specifies the LogicalSize width and height values measured in Leadtools.Forms.LogicalUnit.Pixel.
| Visual Basic (Declaration) | |
|---|---|
Public Shared Function FromSize( _ ByVal size As LeadSize _ ) As LogicalSize | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim size As LeadSize Dim value As LogicalSize value = LogicalSize.FromSize(size) | |
| C# | |
|---|---|
public static LogicalSize FromSize( LeadSize size ) | |
| C++/CLI | |
|---|---|
public: static LogicalSize FromSize( LeadSize size ) | |
Parameters
- size
- Specifies the LogicalSize width and height values measured 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