IInkCollector::putref_Ink method (msinkaut.h)

Gets or sets the InkDisp object that is associated with an InkCollector object or an InkOverlay object.

This property is read/write.

Syntax

HRESULT putref_Ink(
  IInkDisp *NewInk
);

Parameters

NewInk

Return value

None

Remarks

Note  The InkCollector object or the InkOverlay object must be disabled before setting this property. To disable the InkCollector object or the InkOverlay object, set the Enabled property to FALSE. You can then set the Ink property, and re-enable the object by setting the Enabled property to TRUE.
 
An InkCollector creates an InkDisp object by default. If two or more InkDisp objects exist on a known application window, they can be switched out to enable collection into any of them (such as after deserializing one of the InkDisp objects).

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header msinkaut.h
Library InkObj.dll

See also

Enabled Property

IInkCollector

InkCollector Class

InkDisp Class