PROPERTY_UNITS enumeration (tpcshrd.h)

Defines constant values for the unit of measurement of a property.

Syntax

typedef enum _PROPERTY_UNITS {
  PROPERTY_UNITS_DEFAULT = 0,
  PROPERTY_UNITS_INCHES = 1,
  PROPERTY_UNITS_CENTIMETERS = 2,
  PROPERTY_UNITS_DEGREES = 3,
  PROPERTY_UNITS_RADIANS = 4,
  PROPERTY_UNITS_SECONDS = 5,
  PROPERTY_UNITS_POUNDS = 6,
  PROPERTY_UNITS_GRAMS = 7,
  PROPERTY_UNITS_SILINEAR = 8,
  PROPERTY_UNITS_SIROTATION = 9,
  PROPERTY_UNITS_ENGLINEAR = 10,
  PROPERTY_UNITS_ENGROTATION = 11,
  PROPERTY_UNITS_SLUGS = 12,
  PROPERTY_UNITS_KELVIN = 13,
  PROPERTY_UNITS_FAHRENHEIT = 14,
  PROPERTY_UNITS_AMPERE = 15,
  PROPERTY_UNITS_CANDELA = 16
} PROPERTY_UNITS, *PPROPERTY_UNITS;

Constants

 
PROPERTY_UNITS_DEFAULT
Value: 0
Units are unknown.
PROPERTY_UNITS_INCHES
Value: 1
The property value is in inches.
PROPERTY_UNITS_CENTIMETERS
Value: 2
The property value is in centimeters.
PROPERTY_UNITS_DEGREES
Value: 3
The property value is in degrees.
PROPERTY_UNITS_RADIANS
Value: 4
The property value is in radians.
PROPERTY_UNITS_SECONDS
Value: 5
The property value is in seconds.
PROPERTY_UNITS_POUNDS
Value: 6
The property value is in pounds.
PROPERTY_UNITS_GRAMS
Value: 7
The property value is in grams.
PROPERTY_UNITS_SILINEAR
Value: 8
PROPERTY_UNITS_SIROTATION
Value: 9
PROPERTY_UNITS_ENGLINEAR
Value: 10
PROPERTY_UNITS_ENGROTATION
Value: 11
PROPERTY_UNITS_SLUGS
Value: 12
PROPERTY_UNITS_KELVIN
Value: 13
PROPERTY_UNITS_FAHRENHEIT
Value: 14
PROPERTY_UNITS_AMPERE
Value: 15
PROPERTY_UNITS_CANDELA
Value: 16

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Header tpcshrd.h (include Rectypes.h)

See also

PROPERTY_METRICS Structure