TextSource.PixelsPerDip Property


Gets or sets the PixelsPerDip at which the text should be rendered.

 property double PixelsPerDip { double get(); void set(double value); };
public double PixelsPerDip { get; set; }
member this.PixelsPerDip : double with get, set
Public Property PixelsPerDip As Double

Property Value

The current PixelsPerDip value.


Any class that extends TextSource should update PixelsPerDip whenever the DPI changes for a Per Monitor DPI Aware application.

Applies to