DEVICE_SCALE_FACTOR enumeration (shtypes.h)
Indicates a spoofed device scale factor, as a percent. Used by IApplicationDesignModeSettings::SetApplicationViewState and IApplicationDesignModeSettings::IsApplicationViewStateSupported
Syntax
typedef enum DEVICE_SCALE_FACTOR {
DEVICE_SCALE_FACTOR_INVALID = 0,
SCALE_100_PERCENT = 100,
SCALE_120_PERCENT = 120,
SCALE_125_PERCENT = 125,
SCALE_140_PERCENT = 140,
SCALE_150_PERCENT = 150,
SCALE_160_PERCENT = 160,
SCALE_175_PERCENT = 175,
SCALE_180_PERCENT = 180,
SCALE_200_PERCENT = 200,
SCALE_225_PERCENT = 225,
SCALE_250_PERCENT = 250,
SCALE_300_PERCENT = 300,
SCALE_350_PERCENT = 350,
SCALE_400_PERCENT = 400,
SCALE_450_PERCENT = 450,
SCALE_500_PERCENT = 500
} ;
Constants
DEVICE_SCALE_FACTOR_INVALID Value: 0 |
SCALE_100_PERCENT Value: 100 100%. The scale factor for the device is 1x. |
SCALE_120_PERCENT Value: 120 120%. The scale factor for the device is 1.2x. |
SCALE_125_PERCENT Value: 125 |
SCALE_140_PERCENT Value: 140 140%. The scale factor for the device is 1.4x. |
SCALE_150_PERCENT Value: 150 150%. The scale factor for the device is 1.5x. |
SCALE_160_PERCENT Value: 160 160%. The scale factor for the device is 1.6x. |
SCALE_175_PERCENT Value: 175 |
SCALE_180_PERCENT Value: 180 180%. The scale factor for the device is 1.8x. |
SCALE_200_PERCENT Value: 200 |
SCALE_225_PERCENT Value: 225 225%. The scale factor for the device is 2.25x. |
SCALE_250_PERCENT Value: 250 |
SCALE_300_PERCENT Value: 300 |
SCALE_350_PERCENT Value: 350 |
SCALE_400_PERCENT Value: 400 |
SCALE_450_PERCENT Value: 450 |
SCALE_500_PERCENT Value: 500 |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | shtypes.h |
See also
IApplicationDesignModeSettings::IsApplicationViewStateSupported