Upravit

Sdílet prostřednictvím


TextSource.PixelsPerDip Property

Definition

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

public:
 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.

Remarks

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

Applies to