xtd 0.2.0
Loading...
Searching...
No Matches

◆ font_size_correction() [1/2]

static bool xtd::forms::application::font_size_correction ( )
static

Gets a value indicating whether font size correction is enabled.

Returns
true if font size correction is enabled; otherwise false.
Exceptions
xtd::invalid_operation_exceptionIf this method is called after xtd::forms::application::run.
Remarks
By default, xtd corrects the size of fonts on non-Windows operating systems so that they have the same aspect ratio as Windows.
If you disable this option, you will use the actual native font size of the operating system.
This method has an effect only on non Windows operating system.