IInkCursors interface
Represents a collection of IInkCursor objects.
Members
The IInkCursors interface inherits from the IUnknown interface. IInkCursors also has these types of members:
Methods
The IInkCursors interface has these methods.
| Method | Description |
|---|---|
| Item |
Specifies the cursor to return at the known index into the collection. |
Properties
The IInkCursors interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
_NewEnum |
Gets either the IEnumVARIANT or IEnumUnknown enumerator interface for the collection. Use this property to retrieve each object in the collection. The _NewEnum property is marked restricted in the Interface Definition Language (IDL) definition for the collection interfaces. | |
|
Read-only |
Gets the number of cursors in the collection. |
Remarks
A cursor becomes part of the cursors collection of an InkCollector object, InkOverlay object, or the InkPicture control when it comes within range of the object. Each time a new cursor comes within range, it is added to the object's cursors collection. The cursors collection exists only during the lifetime of that object.
For example, if a pen is used to draw ink on an InkCollector object, it becomes part of the InkCollector object's Cursors property. If a mouse is then used for input on the same InkCollector object, it is also added to the collection.
You can use this collection to enumerate over all of the IInkCursor objects on a known InkCollector object.
For more information about collections in COM, see Using the COM Library.
If you define a class that implements this interface, the new class will not interact correctly with the Tablet PC application programming interfaces (APIs).
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also