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.
Adds an InkStrokes collection to an IInkCustomStrokes collection.
Syntax
HRESULT Add(
[in] BSTR Name,
[in] IInkStrokes *Strokes
);
Parameters
[in] Name
Specifies the name of the InkStrokes collection to add to the IInkCustomStrokes collection.
For more information about the BSTR data type, see Using the COM Library.
[in] Strokes
Specifies the InkStrokes collection to add to the IInkCustomStrokes collection.
Return value
This method can return one of these values.
| Return code | Description |
|---|---|
|
Success. |
|
The item already exists in the collection or a parameter contained an invalid pointer. |
|
Cannot allocate memory to complete the operation. |
|
An exception occurred inside the method. |
|
The collection of strokes is incompatible with the API. |
|
The strokes parameter is associated with a different INK object. |
|
An unspecified error occurred. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
| Minimum supported server | None supported |
| Target Platform | Windows |
| Header | msinkaut.h |
| Library | InkObj.dll |