InkCollector Members

Represents an object that is used to capture ink from available tablet devices.

The following tables list the members exposed by the InkCollector type.

Public Constructors

  Name Description
Public method InkCollector Overloaded. Initializes a new instance of the InkCollector class.

Top

Public Fields

  Name Description
Public field ClipInkToMargin Not implemented.
Public field DefaultMargin Returns the default margin used by the MarginX and MarginY properties.

Top

Public Properties

  Name Description
Public property AttachedControl Gets or sets the control to which the InkCollector object is attached.
Public property AutoRedraw Gets or sets a value that specifies whether the InkCollector object repaints the ink when the window is invalidated.
Public property CollectingInk Gets a value that specifies whether ink is currently being drawn on an InkCollector object.
Public property CollectionMode Gets or sets the collection mode that determines whether ink, gesture, or both are recognized as the user writes.
Public property Cursor Gets or sets the cursor that appears when the mouse pointer is over the InkCollector control.
Public property Cursors Gets the Cursors collection that is available for use in the inking region.
Public property DefaultDrawingAttributes Gets or sets the default DrawingAttributes object, which specifies the drawing attributes that are used when drawing and displaying ink.
Public property DesiredPacketDescription Gets or sets interest in aspects of the packet associated with ink drawn on the InkCollector object.
Public property DynamicRendering Gets or sets a value that indicates whether ink is rendered as it is drawn.
Public property Enabled Gets or sets a value that specifies whether the InkCollector object collects pen input.
Public property Handle Gets or sets the handle of the window to which the InkCollector object is attached.
Public property Ink Gets or sets the Ink object that is associated with the InkCollector object.
Public property MarginX Gets or sets the margins along the x-axis, in pixels.
Public property MarginY Gets or sets the margins along the y-axis, in pixels.
Public property Renderer Gets or sets the Renderer object that is used to draw ink.
Public property SupportHighContrastInk Gets or sets a value that specifies whether ink is rendered as just one color when the system is in High Contrast mode.
Public property Tablet Gets the tablet device that the InkCollector object is currently using to collect input.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Dispose Overloaded. Releases resources used by the InkCollector object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetGestureStatus Returns a value that indicates whether the InkCollector object has interest in a particular application gesture.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method GetWindowInputRectangle Gets the window rectangle, in pixels, within which ink is drawn.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method SetAllTabletsMode Overloaded. Sets the InkCollector object to collect ink from any tablet attached to the Tablet PC.
Public method SetGestureStatus Sets whether or not the InkCollector object has interest in a known application gesture.
Public method SetSingleTabletIntegratedMode 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.
Public method SetWindowInputRectangle Sets the window rectangle, in pixels, within which ink is drawn.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

Top

Protected Methods

  Name Description
Protected method Dispose Overloaded. Releases resources used by the InkCollector object.
Protected method Finalize Overridden. Frees the resources of the current InkCollector object before it is reclaimed by the garbage collector.
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Protected method OnCursorButtonDown Allows derived classes to modify the default behavior of the CursorButtonDown event.
Protected method OnCursorButtonUp Allows derived classes to modify the default behavior of the CursorButtonUp event.
Protected method OnCursorDown Allows derived classes to modify the default behavior of the CursorDown event.
Protected method OnCursorInRange Allows derived classes to modify the default behavior of the CursorInRange event.
Protected method OnCursorOutOfRange Allows derived classes to modify the default behavior of the CursorOutOfRange event.
Protected method OnDoubleClick Allows derived classes to modify the default behavior of the DoubleClick event.
Protected method OnGesture Allows derived classes to modify the default behavior of the Gesture event.
Protected method OnMouseDown Allows derived classes to modify the default behavior of the MouseDown event.
Protected method OnMouseMove Allows derived classes to modify the default behavior of the MouseMove event.
Protected method OnMouseUp Allows derived classes to modify the default behavior of the MouseUp event.
Protected method OnMouseWheel Allows derived classes to modify the default behavior of the MouseWheel event.
Protected method OnNewInAirPackets Allows derived classes to modify the default behavior of the NewInAirPackets event.
Protected method OnNewPackets Allows derived classes to modify the default behavior of the NewPackets event.
Protected method OnStroke Allows derived classes to modify the default behavior of the Stroke event.
Protected method OnSystemGesture Allows derived classes to modify the default behavior of the SystemGesture event.
Protected method OnTabletAdded Allows derived classes to modify the default behavior of the TabletAdded event.
Protected method OnTabletRemoved Allows derived classes to modify the default behavior of the TabletRemoved event.

Top

Public Events

  Name Description
Public event CursorButtonDown Occurs when the InkCollector object detects a CursorButton object that is down.
Public event CursorButtonUp Occurs when the InkCollector detects a CursorButton object that is up.
Public event CursorDown Occurs when the cursor tip contacts the digitizing tablet surface.
Public event CursorInRange Occurs when a cursor enters the physical detection range (proximity) of the tablet context.
Public event CursorOutOfRange Occurs when a cursor leaves the physical detection range (proximity) of the tablet context.
Public event DoubleClick Occurs when a user double-clicks the InkCollector object.
Public event Gesture Occurs when an application gesture is recognized.
Public event MouseDown Occurs when the mouse pointer is over the InkCollector and the user presses a mouse button.
Public event MouseMove Occurs when the a user moves the mouse pointer over the InkCollector object.
Public event MouseUp Occurs when a user releases a mouse button while the mouse pointer is over the InkCollector object.
Public event MouseWheel Occurs when a user moves the mouse wheel while the InkCollector object has focus.
Public event NewInAirPackets Occurs when the InkCollector objects detects an in-air packet.
Public event NewPackets Occurs when the InkCollector object receives packets.
Public event Stroke Occurs when the user finishes drawing a new stroke on any tablet.
Public event SystemGesture Occurs when an InkCollector object recognizes a system gesture.
Public event TabletAdded Occurs when a Tablet object is added to the system.
Public event TabletRemoved Occurs when a Tablet object is removed from the system.

Top

See Also

Reference

InkCollector Class
Microsoft.Ink Namespace
Ink
InkOverlay
InkPicture
InkEdit

Other Resources

Ink Collection