UISettingsController.SetTextScaleFactor(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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"/>