FlowDocument.SetDpi(DpiScale) Method

Definition

Sets the DPI for the FlowDocument, causing it to be remeasured and rerendered.

C#
public void SetDpi(System.Windows.DpiScale dpiInfo);

Parameters

dpiInfo
DpiScale

The DPI setting, from which a Visual or UIElement is rendered.

Remarks

Should be used in Per Monitor DPI scenarios.

Applies to

Product Versions
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10