Edytuj

Udostępnij za pośrednictwem


FlowDocument.SetDpi(DpiScale) Method

Definition

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

public:
 void SetDpi(System::Windows::DpiScale dpiInfo);
public void SetDpi (System.Windows.DpiScale dpiInfo);
member this.SetDpi : System.Windows.DpiScale -> unit
Public Sub SetDpi (dpiInfo As DpiScale)

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