InkPicture.SetAllTabletsMode method
Allows an ink collector (InkCollector, InkOverlay, or InkPicture) to collect ink from any tablet attached to the Tablet PC.
Syntax
HRESULT SetAllTabletsMode(
[in, optional] VARIANT_BOOL useMouse
);
Parameters
- useMouse [in, optional]
-
Optional. VARIANT_TRUE to use the mouse as an input device; otherwise, VARIANT_FALSE. The default value is VARIANT_TRUE.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
Cannot change modes while the InkCollector is enabled. |
|
An exception occurred inside the method. |
|
The flag is invalid. |
Remarks
This is the default mode for an object or control that collects ink. To allow the ink collector to collect ink from only one tablet, call the SetSingleTabletIntegratedMode method.
When an ink collector switches from ink collection using a single tablet to ink collection using all tablets, the Cursors property is set to the empty collection.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also