InkPicture.SetAllTabletsMode Method ()
Sets the InkPicture control to collect ink from any tablet attached to the Tablet PC, including the mouse.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)
Syntax
'Declaration
Public Sub SetAllTabletsMode
'Usage
Dim instance As InkPicture
instance.SetAllTabletsMode
public void SetAllTabletsMode ()
public:
void SetAllTabletsMode ()
public void SetAllTabletsMode ()
public function SetAllTabletsMode ()
Not applicable.
Remarks
This is the default mode for an InkPicture control. To allow the InkPicture control to collect ink from only one tablet, call the SetSingleTabletIntegratedMode method.
In addition to the pen, the mouse is used for input.
Note
The InkPicture control must be disabled before calling this method. To disable the InkPicture control, set the InkEnabled property to false. After calling the SetAllTabletsMode method, enable the InkPicture control by setting the InkEnabled property to true.
When an InkPicture control switches from collecting ink by using a single tablet to collecting ink by using all tablets, the Cursors property is set to the empty collection.
Example
This C# example calls SetAllTabletsMode on a new InkPicture control, theInkPicture
.
[C#]
using Microsoft.Ink;
// . . .
Tablets theTablets = new Tablets();
InkPicture theInkPicture = new InkPicture();
theInkPicture.SetAllTabletsMode();
This Microsoft® Visual Basic® .NET example calls SetAllTabletsMode on a new InkPicture control, theInkPicture
.
[Visual Basic]
Imports Microsoft.Ink
' . . .
Dim theTablets As New Tablets()
Dim theInkPicture As New InkPicture()
theInkPicture.SetAllTabletsMode()
Platforms
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
InkPicture Class
InkPicture Members
Microsoft.Ink Namespace
Tablets
InkPicture.InkEnabled
InkPicture.SetSingleTabletIntegratedMode