NevronOpenVision
Nevron.Nov.UI Namespace / NViewportBase Class / ComputeViewportSize Method
window size for which to compute viewport size
zoom factor for which to compute viewport size
In This Topic
    ComputeViewportSize Method
    In This Topic
    Computes the viewport size based on the specified window size
    Syntax
    protected virtual NSize ComputeViewportSize( 
       NSize wndSize,
       System.double zoomFactor
    )

    Parameters

    wndSize
    window size for which to compute viewport size
    zoomFactor
    zoom factor for which to compute viewport size

    Return Value

    size of the viewport
    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