ArcGIS API for Windows Phone - Library Reference
GetScale(Double,Double,Double) Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Geometry Namespace > Geometry Class > GetScale Method : GetScale(Double,Double,Double) Method

unitsPerPixel
Units per pixel (resolution).
metersPerUnit
Meters per unit.
pixelsPerInch
Pixels per inch (dpi).
Gets the scale.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetScale( _
   ByVal unitsPerPixel As Double, _
   ByVal metersPerUnit As Double, _
   Optional ByVal pixelsPerInch As Double _
) As Double
C# 
public static double GetScale( 
   double unitsPerPixel,
   double metersPerUnit,
   double pixelsPerInch
)

Parameters

unitsPerPixel
Units per pixel (resolution).
metersPerUnit
Meters per unit.
pixelsPerInch
Pixels per inch (dpi).

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.