IInkPicture::SetSingleTabletIntegratedMode method (msinkaut.h)
Allows the ink collector (InkCollector, InkOverlay, or InkPicture) to collect ink from only one tablet. Ink from other tablets is ignored by the ink collector.
Syntax
HRESULT SetSingleTabletIntegratedMode(
[in] IInkTablet *Tablet
);
Parameters
[in] Tablet
The tablet on which ink is collected, or drawn.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
A parameter contained an invalid pointer. |
|
Cannot change modes while the collector is enabled. |
|
An exception occurred while processing. |
|
tablet does not point to a compatible Ink object. |
Remarks
To allow the ink collector to collect ink from all tablets, call the SetAllTabletsMode method.
Note The ink collector object or control that collects ink must be disabled before calling this method. To disable the InkCollector object or the InkOverlay object, set the Enabled property to FALSE. To disable the InkPicture control, set the InkEnabled property to FALSE. After calling the SetSingleTabletIntegratedMode method, re-enable the object or control by setting the Enabled (or InkEnabled) property to TRUE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |