Zooms and cetres the map to fit given extent

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

Syntax

Visual Basic
Public Sub FitToExtent ( _
	extent As RectangleD _
)
C#
public void FitToExtent(
	RectangleD extent
)
Visual C++
public:
void FitToExtent(
	RectangleD extent
)
JavaScript
function fitToExtent(extent);

Parameters

extent
Type: EGIS.ShapeFileLib..::..RectangleD

See Also