Gets or sets the current ZoomLevel of the SFMap

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

Syntax

Visual Basic
Public Property ZoomLevel As Double
	Get
	Set
C#
public double ZoomLevel { get; set; }
Visual C++
public:
property double ZoomLevel {
	double get ();
	void set (double value);
}
JavaScript
function get_zoomLevel();
function set_zoomLevel(value);

Remarks

Changing the ZoomLevel will zoom into or out of the map. Increasing the ZoomLevel will zoom into the map, while decreasing the ZoomLevel will zoom out of the map

The ZoomLevel, CentrePoint and ClientSize of the SFMap determine the location and visible area of the rendered map. The map will be rendered centered at the CentrePoint and scaled according to the ZoomLevel.

Exceptions

ExceptionCondition
System..::..ArgumentException if ZoomLevel less than or equal to zero

See Also