VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Utils Namespace / UnitOfMeasureConverter Class / ConvertToDeviceIndependentPixels Methods / ConvertToDeviceIndependentPixels(Double,UnitOfMeasure) Method
Syntax Requirements SeeAlso
In This Topic
ConvertToDeviceIndependentPixels(Double,UnitOfMeasure) Method (UnitOfMeasureConverter)
In This Topic
Converts value from specified UnitOfMeasure to device independent pixels.
Syntax
'Declaration

Public Overloads Shared Function ConvertToDeviceIndependentPixels( _
ByVal value
Value to convert.
As Double, _
ByVal valueUnitOfMeasure
Value unit of measure.
As Vintasoft.Imaging.UnitOfMeasure _
) As Double
public static double ConvertToDeviceIndependentPixels(
double value,
Vintasoft.Imaging.UnitOfMeasure valueUnitOfMeasure
)

Parameters

value
Value to convert.
valueUnitOfMeasure
Value unit of measure.

Return Value

Converted value.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also