LEADTOOLS Forms (Leadtools.Forms assembly)

ToPixels Method

Show in webframe





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
) 

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

See Also

Reference

LogicalLength Structure
LogicalLength Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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