Nevron .NET Vision
Nevron.Diagram.ThinWeb Namespace / NThinDiagramControl 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 Function Zoom( _
       ByVal zoomFactor As System.Single, _
       ByVal viewportCenter As NPointF _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NThinDiagramControl
    Dim zoomFactor As System.Single
    Dim viewportCenter As NPointF
    Dim value As System.Boolean
     
    value = instance.Zoom(zoomFactor, viewportCenter)
    public System.bool Zoom( 
       System.float zoomFactor,
       NPointF viewportCenter
    )

    Parameters

    zoomFactor
    zoom factor
    viewportCenter
    new viewport center

    Return Value

    true if zoomed successfully, otherwise false
    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