A newer version of this page is available. Switch to the current version.

MapControl.CanZoom(Double) Method

Checks whether or not it is possible to zoom a map by the specified zoom level.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v18.2.dll

Declaration

public bool CanZoom(
    double zoomLevel
)

Parameters

Name Type Description
zoomLevel Double

A double value specifying the level by which a map should be zoomed.

Returns

Type Description
Boolean

true, if it is allowed to zoom; otherwise, false.

See Also