LEADTOOLS Forms (Leadtools.Forms assembly)

Show in webframe

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
) 

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 occupied by one pixel.
Example
For an example, refer to Equals.
Requirements

Target Platforms

See Also

Reference

LogicalLength Structure
LogicalLength Members

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