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 XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8