public static Font GetFontOrDefault(
Font? font
)Public Shared Function GetFontOrDefault (
font As Font
) As Fontpublic:
static Font^ GetFontOrDefault(
Font^ font
)static member GetFontOrDefault :
font : Font -> Font This method can be especially useful on .NET Framework, where the Control.DefaultFont property may return a non-scaled font, which is not suitable for high DPI scenarios.