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


Stylus - класс

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

Provides access to general information about a tablet pen.

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

Синтаксис

'Декларация
Public NotInheritable Class Stylus
'Применение
Dim instance As Stylus
public sealed class Stylus
public ref class Stylus sealed
public final class Stylus
public final class Stylus

Заметки

This object represents the physical pen that the user holds. A stylus may have multiple tips (such as normal and eraser ends), with each stylus tip corresponding to a different Stylus object. Some Tablet PCs allow multiple styluses. Each Stylus object has an associated globally unique identifier (GUID) that is unique on a system. For more information about how styluses can be used with a Tablet PC, see Pen Input, Ink, and Recognition, Command Input on the Tablet PC, and Using Gestures.

Stylus objects exist within the scope of a RealTimeStylus object. When a RealTimeStylus object encounters a new Stylus object, the RealTimeStylus object calls the IStylusSyncPlugin.StylusInRange method of each of its synchronous plug-ins, and finally the IStylusAsyncPlugin.StylusInRange method of its asynchronous plug-ins. The RealTimeStylus object maintains a list of the Stylus objects it has encountered. You can access this list by calling the RealTimeStylus object's GetStyluses method.

Иерархия наследования

System.Object
  Microsoft.StylusInput.Stylus

Потокобезопасность

Любые открытые члены этого типа, объявленные как static (Shared в Visual Basic), являются потокобезопасными. Потокобезопасность членов экземпляров не гарантируется.

Платформы

Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003

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

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

.NET Framework

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

См. также

Ссылки

Stylus - члены

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

RealTimeStylus

IStylusSyncPlugin

IStylusAsyncPlugin