Clear Method [IInkCustomStrokes Interface] |
Clears all InkStrokes collections from the IInkCustomStrokes collection.
Declaration
[C++]
HRESULT Clear ();
[Microsoft® Visual Basic® 6.0]
Sub Clear()
Parameters
This method takes no parameters.
Return Value
| HRESULT value | Description |
|---|---|
| S_OK | Success. |
| E_FAIL | An unspecified error occurred. |
| E_INK_EXCEPTION | An exception occurred inside the method. |
Example
[Visual Basic 6.0]
This Visual Basic 6.0 example removes all items from the IInkCustomStrokes collection of the InkDisp object in an InkCollector.
theInkCollector.Ink.CustomStrokes.Clear