Ink Property [InkStrokes Collection]

Ink Property [InkStrokes Collection]

Gets the InkDisp object that contains a collection of strokes.

Declaration

[C++]

[propget] HRESULT get_Ink ([out, retval] InkDisp** Ink);

[Microsoft® Visual Basic® 6.0]

Public Property Get Ink() As InkDisp

Property Value

InkDisp Gets the InkDisp object that contains the InkStrokes collection.

This property is read-only.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The parameter pointer was invalid.
E_INK_EXCEPTION An exception occurred inside the method.
E_UNEXPECTED Unexpected parameter or property type.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example returns the InkDisp object that contains a InkStrokes collection.

Dim theInk As InkDisp
Set theInk = theStroke.Ink

Applies To