combit List & Label 25 - .NET Online Web Help
ConvertUnit Method


combit.ListLabel25 Namespace > CoordinateHelper Class : ConvertUnit Method
Value of the unit to convert.
Defines the unit of the value to convert.
The desired List & Label unit.
Reference Graphics-device to convert. Mandatory for conversion of Pixels, otherwise parameter can be null.
With this method certain units (see CoordinateHelper.ConversionUnit) can be converted into certain List & Label units (LlUnits).
Syntax
'Declaration
 
Public Shared Function ConvertUnit( _
   ByVal value As Double, _
   ByVal source As CoordinateHelper.ConversionUnit, _
   ByVal target As LlUnits, _
   ByVal graphics As Graphics _
) As Double

Parameters

value
Value of the unit to convert.
source
Defines the unit of the value to convert.
target
The desired List & Label unit.
graphics
Reference Graphics-device to convert. Mandatory for conversion of Pixels, otherwise parameter can be null.

Return Value

Converted value in the specified List & Label unit.
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

CoordinateHelper Class
CoordinateHelper Members