Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
DisplayInformation.DiagonalSizeInInches Property
Definition
- Namespace:
- Windows.Graphics.Display
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.
Diagonal size of the display in inches.
public:
property IReference<double> ^ DiagonalSizeInInches { IReference<double> ^ get(); };
IReference<double> DiagonalSizeInInches();
public System.Nullable<double> DiagonalSizeInInches { get; }
var iReference = displayInformation.diagonalSizeInInches;
Public ReadOnly Property DiagonalSizeInInches As Nullable(Of Double)
Property Value
Returns the diagonal size of the display in inches. May return null when display size information is not available or undetermined (when connected to a projector, or displays are duplicated).
Windows requirements
| Requirements | Description |
|---|---|
| Device family |
Windows 10 (introduced in 10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|
Applies to
Feedback
Was this page helpful?
