PROPERTY_METRICS structure (tpcshrd.h)
Defines the range and resolution of a packet property.
Syntax
typedef struct _PROPERTY_METRICS {
LONG nLogicalMin;
LONG nLogicalMax;
PROPERTY_UNITS Units;
FLOAT fResolution;
} PROPERTY_METRICS, *PPROPERTY_METRICS;
Members
nLogicalMin
The minimum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 has a logical minimum of 0.
nLogicalMax
The maximum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 has a logical maximum of 9000.
Units
The physical units of the property, such as inches or degrees. For a list of property units, see the PROPERTY_UNITS enumeration type.
fResolution
The resolution or increment value for the Units
member. For example, a tablet that reports 400 dots per inch (dpi) has an fResoution value of 400.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Header | tpcshrd.h |