UtilDrawingWinFormsFontSizeToWPFFontSize(Font) Method
Converts a WinForms font size to WPF font size.
Namespace: DevCase.Core.Media.GraphicsAssembly: 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
)
Public Shared Function WinFormsFontSizeToWPFFontSize (
font As Font
) As Single
Dim font As Font
Dim returnValue As Single
returnValue = UtilDrawing.WinFormsFontSizeToWPFFontSize(font)
public:
static float WinFormsFontSizeToWPFFontSize(
Font^ font
)
static member WinFormsFontSizeToWPFFontSize :
font : Font -> float32
No code example is currently available or this language may not be supported.
- font Font
-
The WinForms font.
Single
The resulting WPF font size.