DEVICE_SCALE_FACTOR enumeration
Indicates a spoofed device scale factor, as a percent. Used by IApplicationDesignModeSettings::SetApplicationViewState and IApplicationDesignModeSettings::IsApplicationViewStateSupported
Syntax
typedef enum DEVICE_SCALE_FACTOR { SCALE_100_PERCENT = 100, SCALE_120_PERCENT = 120, SCALE_140_PERCENT = 140, SCALE_150_PERCENT = 150, SCALE_160_PERCENT = 160, SCALE_180_PERCENT = 180, SCALE_225_PERCENT = 225 } DEVICE_SCALE_FACTOR;
Constants
- SCALE_100_PERCENT
-
100%. The scale factor for the device is 1x.
- SCALE_120_PERCENT
-
120%. The scale factor for the device is 1.2x.
- SCALE_140_PERCENT
-
140%. The scale factor for the device is 1.4x.
- SCALE_150_PERCENT
-
150%. The scale factor for the device is 1.5x.
- SCALE_160_PERCENT
-
160%. The scale factor for the device is 1.6x.
- SCALE_180_PERCENT
-
180%. The scale factor for the device is 1.8x.
- SCALE_225_PERCENT
-
225%. The scale factor for the device is 2.25x.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also
- IApplicationDesignModeSettings::SetApplicationViewState
- IApplicationDesignModeSettings::IsApplicationViewStateSupported