共用方式為


RealTimeStylus.RealTimeStylus Constructor

RealTimeStylus.RealTimeStylus Constructor

Creates a RealTimeStylus object.

Overload List

public RealTimeStylus()
public RealTimeStylus(Control)
public RealTimeStylus(Control, Boolean)
public RealTimeStylus(Control, Tablet)
public RealTimeStylus(IntPtr)
public RealTimeStylus(IntPtr, Boolean)
public RealTimeStylus(IntPtr, Tablet)

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.

When the RealTimeStylus object is created with the default constructor or with a constructor with the handle parameter set to 0 or the attachedControl parameter set to null, then the RealTimeStylus object does not collect ink from a window or control. Instead, the only way to receive ink input is by cascading this RealTimeStylus object under one that is receiving ink input from a window or control. For more information on cascading the RealTimeStylus, see The Cascaded RealTimeStylus Model.

Examples

See Also