MapMatrix NetGIS Class Library

Command.ZoomByFactor Method 

Zoom by a given factor. This method will force an Update.

public void ZoomByFactor(
   double factor,
   int x,
   int y
);

Parameters

factor
Factor to be used by the zoom operation (e.g. .5 will zoom in, 1.5 will zoom out)
x
X Coordinate (in pixels) to zoom to
y
Y Coordinate (in pixels) to zoom to

See Also

Command Class | MapMatrix.MapControls Namespace