Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NScreen Class / PixelsToDips Method


In This Topic
    PixelsToDips Method
    In This Topic
    Converts the specified pixels measure to dips, according to this screen resolution.
    Syntax
    'Declaration
     
    
    Public Function PixelsToDips( _
       ByVal pixels As System.Double _
    ) As System.Double
    'Usage
     
    
    Dim instance As NScreen
    Dim pixels As System.Double
    Dim value As System.Double
     
    value = instance.PixelsToDips(pixels)
    public System.double PixelsToDips( 
       System.double pixels
    )

    Parameters

    pixels
    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