-api-id | -api-type |
---|---|
M:Windows.UI.ViewManagement.Core.UISettingsController.SetTextScaleFactor(System.Double) |
winrt method |
Set the text scale factor through the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).
The text scale factor, in percent (100-225).
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"/>
RequestDefaultAsync, ViewManagement.UISettingsAnimationsEnabledChangedEventArgs, ViewManagement.UISettingsMessageDurationChangedEventArgs