LEADTOOLS Forms (Leadtools.Forms assembly)
LEAD Technologies, Inc

ToSize Method






Represents the DPI along the x-axis (Width) of the output Leadtools.LeadSize.
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
public LeadSize ToSize( 
   double dpiX,
   double dpiY
)
'Declaration
 
Public Function ToSize( _
   ByVal dpiX As Double, _
   ByVal dpiY As Double _
) As LeadSize
'Usage
 
Dim instance As LogicalSize
Dim dpiX As Double
Dim dpiY As Double
Dim value As LeadSize
 
value = instance.ToSize(dpiX, dpiY)
public LeadSize ToSize( 
   double dpiX,
   double dpiY
)
 function Leadtools.Forms.LogicalSize.ToSize( 
   dpiX ,
   dpiY 
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LogicalSize Structure
LogicalSize Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features