DisplayMetrics.DensityDpi Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The screen density expressed as dots-per-inch.
[Android.Runtime.Register("densityDpi")]
public Android.Util.DisplayMetricsDensity DensityDpi { get; set; }
[<Android.Runtime.Register("densityDpi")>]
member this.DensityDpi : Android.Util.DisplayMetricsDensity with get, set
Property Value
- Attributes
Remarks
The screen density expressed as dots-per-inch. May be either #DENSITY_LOW
, #DENSITY_MEDIUM
, or #DENSITY_HIGH
.
Java documentation for android.util.DisplayMetrics.densityDpi
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.