Bagikan melalui


InkCollector.SetSingleTabletIntegratedMode Method

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

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

Syntax

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

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

Parameters

Remarks

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

Note

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

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

Examples

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

using Microsoft.Ink;
// . . .
InkCollector theInkCollector = new InkCollector();
Tablets theTablets = new Tablets();
theInkCollector.SetSingleTabletIntegratedMode(theTablets.DefaultTablet);

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

Imports Microsoft.Ink
' . . .
Dim theInkCollector As New InkCollector()
Dim theTablets As New Tablets()
theInkCollector.SetSingleTabletIntegratedMode(theTablets.DefaultTablet)

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkCollector Class

InkCollector Members

Microsoft.Ink Namespace

Tablet

Tablets

InkCollector.Enabled

InkCollector.SetAllTabletsMode