combit List & Label 29 - .NET Help
combit.Reporting 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.


In This Topic
    ConvertUnit Method
    In This Topic
    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also