UtilDrawingWinFormsFontSizeToWPFFontSize(Font) Method

Converts a WinForms font size to WPF font size.

Definition

Namespace: DevCase.Core.Media.Graphics
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static float WinFormsFontSizeToWPFFontSize(
	Font font
)

Parameters

font  Font
The WinForms font.

Return Value

Single
The resulting WPF font size.

See Also