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 {
  DEVICE_SCALE_FACTOR_INVALID,
  SCALE_100_PERCENT,
  SCALE_120_PERCENT,
  SCALE_125_PERCENT,
  SCALE_140_PERCENT,
  SCALE_150_PERCENT,
  SCALE_160_PERCENT,
  SCALE_175_PERCENT,
  SCALE_180_PERCENT,
  SCALE_200_PERCENT,
  SCALE_225_PERCENT,
  SCALE_250_PERCENT,
  SCALE_300_PERCENT,
  SCALE_350_PERCENT,
  SCALE_400_PERCENT,
  SCALE_450_PERCENT,
  SCALE_500_PERCENT
} ;

Constants

DEVICE_SCALE_FACTOR_INVALID
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_125_PERCENT
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_175_PERCENT
SCALE_180_PERCENT 180%. The scale factor for the device is 1.8x.
SCALE_200_PERCENT
SCALE_225_PERCENT 225%. The scale factor for the device is 2.25x.
SCALE_250_PERCENT
SCALE_300_PERCENT
SCALE_350_PERCENT
SCALE_400_PERCENT
SCALE_450_PERCENT
SCALE_500_PERCENT

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shtypes.h

See Also

IApplicationDesignModeSettings::IsApplicationViewStateSupported

IApplicationDesignModeSettings::SetApplicationViewState