This document is archived and information here might be outdated. Recommended version. |
Computes the scale of the specified map, at the given map extent, for an image with the given width, specified in pixels.
[Visual Basic .NET] Public Function ComputeScale ( _ ByVal MapName As String, _ ByVal imageWidthPixels As Integer, _ ByVal Extent As IEnvelope _ ) As Double
[C#] public double ComputeScale ( string MapName, int imageWidthPixels, IEnvelope Extent );
[C++]
HRESULT ComputeScale(
BSTR MapName,
Long imageWidthPixels,
IEnvelope* Extent
);
[C++] Parameters MapName [in]
MapName is a parameter of type BSTR imageWidthPixels [in]
imageWidthPixels is a parameter of type int Extent [in]
Extent is a parameter of type IEnvelope*