Export (0) Print
Expand All

RealTimeStylus Class

Handles the stylus packet data from a digitizer in real time. This class cannot be inherited.

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

public final class RealTimeStylus implements IDisposable, IStylusAsyncPlugin

Use this class to provide access to the stylus events coming from the hardware. The RealTimeStylus class controls the flow of ink going to an ink collector.

Use this class to intercept the stylus packet stream. If you do not need to interact with the packet stream in real time before it gets to the ink collecting object, then use the InkCollector, the InkOverlay, or the InkPicture object instead of this class.

NoteNote:

You cannot attach the RealTimeStylus object to a window or control in a different process.

Security noteSecurity Note:

If using under partial trust, this class and all its methods require UIPermissionWindow.SafeTopLevelWindows permission. For more information about partial trust, see Security and Trust.

NoteNote:

The RealTimeStylus constructor will throw a Marshal.ThrowExceptionForHR exception if it is unable to create the underlying Win32 RealTimeStylus.

System.Object
  Microsoft.StylusInput.RealTimeStylus

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft