Compartir a través de


InkOverlay.SetSingleTabletIntegratedMode Method

Sets the InkOverlay object to collect ink from only one tablet attached to the Tablet PC. Ink from other tablets is ignored by the InkOverlay object.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Public Sub SetSingleTabletIntegratedMode ( _
    tablet As Tablet _
)
'Usage
Dim instance As InkOverlay
Dim tablet As Tablet

instance.SetSingleTabletIntegratedMode(tablet)
public void SetSingleTabletIntegratedMode (
    Tablet tablet
)
public:
void SetSingleTabletIntegratedMode (
    Tablet^ tablet
)
public void SetSingleTabletIntegratedMode (
    Tablet tablet
)
public function SetSingleTabletIntegratedMode (
    tablet : Tablet
)
Not applicable.

Parameters

  • tablet
    The Tablet object on which ink is collected.

Remarks

To allow the InkOverlay object to collect ink from any tablet attached to the Tablet PC, call the SetAllTabletsMode method.

Note

The InkOverlay object must be disabled before calling this method. To disable the InkOverlay object, set the Enabled property to false. After calling the SetAllTabletsMode method, enable the InkOverlay object by setting the Enabled property to true.

When this method is called, the Cursors property is set to the empty collection.

Example

This C# example calls SetSingleTabletIntegratedMode on a new InkOverlay object, theInkOverlay, with the input set to use only the default Tablet object of a Tablets collection, theTablets.

using Microsoft.Ink;
// . . .
InkOverlay theInkOverlay = new InkOverlay();
Tablets theTablets = new Tablets();
theInkOverlay.SetSingleTabletIntegratedMode(theTablets.DefaultTablet);

This Microsoft Visual Basic .NET example calls SetSingleTabletIntegratedMode on a new InkOverlay object, theInkOverlay, with the input set to use only the default Tablet object of a Tablets collection, theTablets.

Imports Microsoft.Ink
' . . .
Dim theInkOverlay As New InkOverlay()
Dim theTablets As New Tablets()
theInkOverlay.SetSingleTabletIntegratedMode(theTablets.DefaultTablet)

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

InkOverlay Class
InkOverlay Members
Microsoft.Ink Namespace
Tablet
Tablets
InkOverlay.Enabled
Microsoft.Ink.InkOverlay.SetAllTabletsMode