DPIgetScalingFactor Method

Stator | API Documentation
Return the scaling factor (as float) for the current display.

Example:
1.25 = 125%
2.00 = 200% etc
4.00 = 400%

Namespace:  Stator.libPublic.Utilities
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax

public static float getScalingFactor()

Return Value

Type: Single
A float containing the device scaling factor
See Also

Reference