Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
SFMap..::.SetZoomAndCentre Method
SFMap Class See Also Send Feedback

Convenience method to set the ZoomLevel and CentrePoint in one method

Namespace: EGIS.Controls
Assembly: EGIS.Controls (in EGIS.Controls.dll)

# Syntax

Visual Basic (Declaration)
    Public Sub SetZoomAndCentre ( _
    	zoom As Double, _
    	centre As PointD _
    )

C#
    public void SetZoomAndCentre(
    	double zoom,
    	PointD centre
    )

Visual C++
    public:
    void SetZoomAndCentre(
    	double zoom,
    	PointD centre
    )

#### Parameters

zoom
  Type: System..::.Double
  The desired ZoomLevel

centre
  Type: EGIS.ShapeFileLib..::.PointD
  The desired CentrePoint

# See Also

SFMap Class
EGIS.Controls Namespace
SFMap..::.ZoomLevel
SFMap..::.CentrePoint