IInkTablet::GetPropertyMetrics method (msinkaut.h)
Retrieves the metrics data for a specified property.
HRESULT GetPropertyMetrics( [in] BSTR propertyName, [out] long *Minimum, [out] long *Maximum, [out] TabletPropertyMetricUnit *Units, [out] float *Resolution );
The property for which you want to determine metrics.
For more information about the BSTR data type, see Using the COM Library.
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.
The maximum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 would have a logical maximum of 9000.
The physical units of the property, such as inches or degrees. For a list of property units, see the TabletPropertyMetricUnit enumeration type.
Specifies the resolution or increment value for the units member. For example, a tablet that reports 400 dots per inch (dpi) has a resolution value of 400.
This method can return one of these values.
||The tablet does not support the specified property.|
||An unspecified error occurred.|
||A parameter contained an invalid pointer.|
||Invalid GUID format.|
||Unknown property string.|
||An exception occurred while processing.|
The properties for which you retrieve metrics may include the time that a packet was generated or the downward pressure of the pen tip on the tablet surface.
For a complete list of properties for which you can retrieve metrics, see the PacketProperty constants.
|Minimum supported client||Windows XP Tablet PC Edition [desktop apps only]|
|Minimum supported server||None supported|