Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingView Class / Zoom Method / Zoom(Single,NPointF) Method
zoom factor
new viewport center


In This Topic
    Zoom(Single,NPointF) Method
    In This Topic
    Applies equal X and Y scales of the view and makes the specified point the new viewport center.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Zoom( _
       ByVal zoom As System.Single, _
       ByVal viewportCenter As NPointF _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDrawingView
    Dim zoom As System.Single
    Dim viewportCenter As NPointF
    Dim value As System.Boolean
     
    value = instance.Zoom(zoom, viewportCenter)
    public virtual System.bool Zoom( 
       System.float zoom,
       NPointF viewportCenter
    )

    Parameters

    zoom
    zoom factor
    viewportCenter
    new viewport center
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also