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



size
Specifies the LogicalSize width and height values measured in Leadtools.Forms.LogicalUnit.Pixel.

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.
Creates a new LogicalSize class object from explicit Leadtools.LeadSize parameters.

Syntax

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.

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