Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function GetScale( _ ByVal unitsPerPixel As Double, _ ByVal spatialReference As SpatialReference, _ Optional ByVal pixelsPerInch As Double _ ) As Double |
C# | |
---|---|
public static double GetScale( double unitsPerPixel, SpatialReference spatialReference, double pixelsPerInch ) |
Parameters
- unitsPerPixel
- Units per pixel (resolution).
- spatialReference
- Spatial reference.
- pixelsPerInch
- Pixels per inch (dpi).
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7