IInkCollector::get_Ink method

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

This property is read/write.


HRESULT get_Ink(
  IInkDisp **Ink



Return value



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).


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


InkCollector Class

InkDisp Class