Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.26 KB

uisettingscontroller_settextscalefactor_298751993.md

File metadata and controls

38 lines (26 loc) · 1.26 KB
-api-id -api-type
M:Windows.UI.ViewManagement.Core.UISettingsController.SetTextScaleFactor(System.Double)
winrt method

Windows.UI.ViewManagement.Core.UISettingsController.SetTextScaleFactor

-description

Set the text scale factor through the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).

-parameters

-param value

The text scale factor, in percent (100-225).

-remarks

Important

This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list.

Add the following to the Package.appmanifest:

  • To <Package>
    • IgnorableNamespaces="iot"
  • Under <Capabilities>
    • <iot:Capability Name="systemManagement"/>

-see-also

RequestDefaultAsync, ViewManagement.UISettingsAnimationsEnabledChangedEventArgs, ViewManagement.UISettingsMessageDurationChangedEventArgs

-examples