Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NDrawingView Class / ZoomOut Method / ZoomOut(NPointF,Boolean) Method
new viewport center
whether to center the viewport around the pin, or scale around it


In This Topic
    ZoomOut(NPointF,Boolean) Method
    In This Topic
    Zooms out the view with the Document.Settings.ZoomStep. If center is true, makes the specified point the new viewport center. Otherwise preserves the viewportPin projection in the window.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function ZoomOut( _
       ByVal viewportPin As NPointF, _
       ByVal center As System.Boolean _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NDrawingView
    Dim viewportPin As NPointF
    Dim center As System.Boolean
    Dim value As System.Boolean
     
    value = instance.ZoomOut(viewportPin, center)
    public virtual System.bool ZoomOut( 
       NPointF viewportPin,
       System.bool center
    )

    Parameters

    viewportPin
    new viewport center
    center
    whether to center the viewport around the pin, or scale around it
    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