Jaa


UISettingsController.SetTextScaleFactor(Double) Method

Definition

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

public:
 virtual void SetTextScaleFactor(double value) = SetTextScaleFactor;
void SetTextScaleFactor(double const& value);
public void SetTextScaleFactor(double value);
function setTextScaleFactor(value)
Public Sub SetTextScaleFactor (value As Double)

Parameters

value
Double

double

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"/>

Applies to

See also