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

ToPixels Method






Represents the DPI of the image along the length direction.
Returns the length value in pixels according to the specified DPIs.
Syntax
public double ToPixels( 
   double dpi
)
'Declaration
 
Public Function ToPixels( _
   ByVal dpi As Double _
) As Double
'Usage
 
Dim instance As LogicalLength
Dim dpi As Double
Dim value As Double
 
value = instance.ToPixels(dpi)
public double ToPixels( 
   double dpi
)
 function Leadtools.Forms.LogicalLength.ToPixels( 
   dpi 
)
public:
double ToPixels( 
   double dpi
) 

Parameters

dpi
Represents the DPI of the image along the length direction.
Remarks
LogicalLength converts a value measured in any unit that is specified by sourceUnit to pixels. The DPI is needed to define the area that is occuppied by one pixel.
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

LogicalLength Structure
LogicalLength 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