NevronOpenVision
Nevron.Nov Namespace / NUnit Structure / TryConvertToPixels Method
In This Topic
    TryConvertToPixels Method
    In This Topic
    Gets the conversion factor for converting a quantity measured in this unit to the pixel unit for the specified resolution. Returns true if the conversion is possible, otherwise returns false.
    Syntax
    public System.bool TryConvertToPixels( 
       System.double dpi,
       out System.double factor
    )

    Parameters

    dpi
    factor
    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