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).
Target Platforms:Windows Phone 7