Поделиться через


InkCollector.SetSingleTabletIntegratedMode - метод

Обновлен: Ноябрь 2007

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.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Sub SetSingleTabletIntegratedMode ( _
    tablet As Tablet _
)
'Применение
Dim instance As InkCollector
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
)

Параметры

Заметки

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

ms569256.alert_note(ru-ru,VS.90).gifПримечание.

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.

Примеры

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)

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

InkCollector Класс

InkCollector - члены

Microsoft.Ink - пространство имен

Tablet

Tablets

InkCollector.Enabled

InkCollector.SetAllTabletsMode