Share via


MapPointConstants.AssumedDpi Property

MapPointConstants.AssumedDpi Property

The assumed resolution of pixels per inch in a rendered map image (96).


Public AssumedDpi As System.Integer = 96


[C#]

public System.Int32 AssumedDpi;

Remarks

  • You can use the AssumedDpi property to adjust for the actual resolution of a display device. For more information, see Working with Map Views.

Example

[Visual Basic]

'Figure a map scale of 20,000 based on 120dpi monitor
Dim myConstants As New MapPointConstants()
Dim myScale As Double
myScale = 20000 * myConstants.AssumedDpi / 120



[C#]

//Figure a map scale of 20,000 based on 120dpi monitor
MapPointConstants myConstants = new MapPointConstants();
double myScale;
myScale = 20000 * myConstants.AssumedDpi / 120;


See Also

  MapPointConstants Class   |   MapImage Class   |   Working with Map Views