VintaSoft Barcode .NET SDK 16.1: Documentation for .NET developer
Vintasoft.Barcode Namespace / WriterSettings Class / ConvertUnitsToPixels(Double,UnitOfMeasure) Method
Syntax Requirements SeeAlso
In This Topic
ConvertUnitsToPixels(Double,UnitOfMeasure) Method (WriterSettings)
In This Topic
Converts the value in specified units to the pixels.
Syntax
'Declaration

Public Function ConvertUnitsToPixels( _
ByVal value
The value to convert.
As Double, _
ByVal units
The unit of measure.
As UnitOfMeasure _
) As Integer
public int ConvertUnitsToPixels(
double value,
UnitOfMeasure units
)

Parameters

value
The value to convert.
units
The unit of measure.

Return Value

Value converted to the pixels.
Requirements

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

See Also