Nevron Open Vision Documentation
Nevron.Nov.Diagram Namespace / NPage Class / ZoomToFactor Method / ZoomToFactor(Double,NPoint) Method
zoom factor
zoom pivot point, in page coordinates


In This Topic
    ZoomToFactor(Double,NPoint) Method
    In This Topic
    Zooms the page to the specified factor by preserving the screen location of the specified viewport point.
    Syntax
    'Declaration
     
    
    Public Overloads Sub ZoomToFactor( _
       ByVal factor As System.Double, _
       ByVal pin As NPoint _
    ) 
    'Usage
     
    
    Dim instance As NPage
    Dim factor As System.Double
    Dim pin As NPoint
     
    instance.ZoomToFactor(factor, pin)
    public void ZoomToFactor( 
       System.double factor,
       NPoint pin
    )

    Parameters

    factor
    zoom factor
    pin
    zoom pivot point, in page coordinates
    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