Back to Devexpress

MapControl.CalculateZoomLevelByScale(Double) Method

windowsforms-devexpress-dot-xtramap-dot-mapcontrol-dot-calculatezoomlevelbyscale-x28-system-dot-double-x29.md

latest1.8 KB
Original Source

MapControl.CalculateZoomLevelByScale(Double) Method

OBSOLETE

The CalculateZoomLevelByScale method is obsolete now.

Calculates a map zoom level corresponding to the specified map scale.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("The CalculateZoomLevelByScale method is obsolete now.")]
[PreferableMember("MapControl", "CalculateZoomLevelByScale", "")]
public double CalculateZoomLevelByScale(
    double scale
)
vb
<Obsolete("The CalculateZoomLevelByScale method is obsolete now.")>
<PreferableMember("MapControl", "CalculateZoomLevelByScale", "")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Function CalculateZoomLevelByScale(
    scale As Double
) As Double

Parameters

NameTypeDescription
scaleDouble

A Double value that is the map scale.

|

Returns

TypeDescription
Double

A Double value that is the map zoom level.

|

See Also

MapControl Class

MapControl Members

DevExpress.XtraMap Namespace