Gets or sets the IInkDisp object that is associated with an IInkOverlay object.
[propputref] HRESULT putref_Ink ([in] InkDisp *Ink); [propget] HRESULT get_Ink ([out, retval] InkDisp **Ink );
Gets or sets the IInkDisp object that is associated with the IInkOverlay object.
This property is read/write.
S_OK
Success.
E_POINTER
The Ink parameter must be a valid pointer to an Ink pointer.
E_INK_COLLECTOR_ENABLED
Cannot change Ink object while collecting.
E_INK_EXCEPTION
An exception occurred inside the method.
E_INVALIDARG
Invalid hWnd value.
The IInkOverlay object must be disabled before setting this property. To disable the IInkOverlay object, set the IInkOverlay::Enabled property to FALSE. You can then set the Ink property, and re-enable the object by setting the Enabled property to TRUE.