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



dpiX
Represents the DPI along the x-axis (Width) of the output Leadtools.LeadSize.
dpiY
Represents the DPI along the y-axis (Height) of the output Leadtools.LeadSize.

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

dpiX
Represents the DPI along the x-axis (Width) of the output Leadtools.LeadSize.
dpiY
Represents the DPI along the y-axis (Height) of the output Leadtools.LeadSize.
Returns the Leadtools.LeadSize of the LogicalSize, converted to its equivalent values measured in Leadtools.Forms.LogicalUnit.Pixel.

Syntax

Visual Basic (Declaration) 
Public Function ToSize( _
   ByVal dpiX As Double, _
   ByVal dpiY As Double _
) As LeadSize
Visual Basic (Usage)Copy Code
Dim instance As LogicalSize
Dim dpiX As Double
Dim dpiY As Double
Dim value As LeadSize
 
value = instance.ToSize(dpiX, dpiY)
C# 
public LeadSize ToSize( 
   double dpiX,
   double dpiY
)
C++/CLI 
public:
LeadSize ToSize( 
   double dpiX,
   double dpiY
) 

Parameters

dpiX
Represents the DPI along the x-axis (Width) of the output Leadtools.LeadSize.
dpiY
Represents the DPI along the y-axis (Height) of the output Leadtools.LeadSize.

Example

For an example, refer to Equals.

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