IInkExtendedProperties interface

Represents a collection of IInkExtendedProperty objects that contain application-defined data.

Members

The IInkExtendedProperties interface inherits from the IUnknown interface. IInkExtendedProperties also has these types of members:

Methods

The IInkExtendedProperties interface has these methods.

MethodDescription
Add

Specifies the extended property to add to the collection.

Clear

Clears all of the extended properties from the collection.

DoesPropertyExist

Specifies whether an extended property exists within a collection of extended properties.

Item

Specifies the extended property to return at the known index in the collection.

Remove

Specifies the extended property to remove from the collection.

 

Properties

The IInkExtendedProperties interface has these properties.

PropertyAccess typeDescription

_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.

Count

Read-only

Gets the number of IInkExtendedProperty objects in the collection.

 

Remarks

The extended property data is indexed by an application-specific globally unique identifier (GUID).

Note  You cannot store an empty IInkExtendedProperties object. The object must contain data before it can be stored. For example, if you try to add extended properties to a stroke for later use, an exception is thrown if the extended property contains no data.
 

IInkExtendedProperties collections may be added to the IInkStrokeDisp, the InkDrawingAttributes, and the InkDisp objects.

For more information about collections in Automation, 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

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

ExtendedProperties Property
IInkExtendedProperty Interface

 

 

Show: