Nevron Open Vision Documentation
Nevron.Nov.Text Namespace / NBlockSettings Class / ToLength Method


In This Topic
    ToLength Method
    In This Topic
    Converts the given value from DIPs to an NLength of centimeters.
    Syntax
    'Declaration
     
    
    Protected Shared Function ToLength( _
       ByVal value As System.Double _
    ) As NLength
    'Usage
     
    
    Dim value As System.Double
    Dim value As NLength
     
    value = NBlockSettings.ToLength(value)
    protected static NLength ToLength( 
       System.double value
    )

    Parameters

    value
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also