The ToPixels Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- dpi
- Represents the DPI of the image along the length direction.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LogicalLength Dim dpi As Double Dim value As Double value = instance.ToPixels(dpi) |
Parameters
- dpi
- Represents the DPI of the image along the length direction.
For an example, refer to Equals.
LogicalLength converts a value measured in any unit that is specified by %% to pixels. The DPI is needed to define the area that is occuppied by one pixel.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7