Einhugur WinUI Bridge Plugin for Xojo

EinhugurWinUIBridge.TextScaleFactor Method

Gets the value of the system text size setting.

TextScaleFactor() as Double

Parameters

Returns

Double

Remarks

The value ranges from 1 to 2.25.

Not all text is scaled by the same factor. Generally speaking, the larger text is, the less it’s affected by scaling.

This function can throw WinUIException.

Supported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Unsupported Platforms:

  • macOS Intel 32 bit
  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • See Also

    EinhugurWinUIBridge Module