Compartir a través de


CustomStrokes Property

CustomStrokes Property

Returns the collection of custom strokes to be persisted with the ink.

Declaration

[C++]

[propget] HRESULT get_CustomStrokes ([out, retval] InkCustomStrokes**
    CustomStrokes);

[Microsoft® Visual Basic® 6.0]

Public Property Get CustomStrokes() As IInkCustomStrokes

Property Value

InkCustomStrokes This property returns the IInkCustomStrokes collection, which contains the user-defined strokes to be persisted with the ink.

This property is read-only.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The parameter pointer was NULL (Nothing in Visual Basic 6.0) or invalid.
E_INK_EXCEPTION An exception occurred inside the method.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example returns the IInkCustomStrokes collection of the InkDisp object within an InkCollector.

Dim theCustomStrokes As IInkCustomStrokes
theCustomStrokes = theInkCollector.Ink.CustomStrokes

Applies To