Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DisplayInformation.LogicalDpi 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.

Gets the pixels per logical inch of the current environment.

public:
 property float LogicalDpi { float get(); };
float LogicalDpi();
public float LogicalDpi { get; }
var single = displayInformation.logicalDpi;
Public ReadOnly Property LogicalDpi As Single

Property Value

Single

float

The pixels per logical inch of the current environment.

Remarks

The logical dots per inch (DPI) can change based on scaling. For info about the meaning of logical DPI, see DPI and Device-Independent Pixels.

Applies to


Feedback

Was this page helpful?