Jaa


DisplayInformation.LogicalDpi Property

Definition

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