Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the RealTimeStylus class and attaches it to the specified control.
Namespace: Microsoft.StylusInput
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Sub New ( _
attachedControl As Control _
)
'Usage
Dim attachedControl As Control
Dim instance As New RealTimeStylus(attachedControl)
public RealTimeStylus(
Control attachedControl
)
public:
RealTimeStylus(
Control^ attachedControl
)
public function RealTimeStylus(
attachedControl : Control
)
Parameters
attachedControl
Type: System.Windows.Forms.ControlThe control to which to attach the RealTimeStylus object. If this parameter is set to null (Nothing in Microsoft Visual Basic .NET), the constructor throws an exception.
Remarks
For new RealTimeStylus objects, ink collection is initially disabled and the input region is set to the bounds of the window to which the RealTimeStylus object is attached. For more information, see the Enabled and WindowInputRectangle properties.
Platforms
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.
Version Information
.NET Framework
Supported in: 3.0