Ink Property [IInkStrokeDisp Interface]

Ink Property [IInkStrokeDisp Interface]

Gets the parent InkDisp object of a stroke.

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 parent InkDisp object of a stroke.

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.

Remarks

The stroke must be contained in one and only one InkDisp object.

This property is read only.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example returns the parent InkDisp object of a stroke.

Dim theInk As InkDisp
Set theInk = theStroke.Ink

Applies To