InkEdit.SelInks property

Gets or sets the array of embedded InkDisp objects (if displayed as ink) in the current selection.

This property is read/write.

Syntax


HRESULT put_SelInks(
  [in]          VARIANT SelInks
);

HRESULT get_SelInks(
  [out, retval] VARIANT *pSelInk
);

Property value

The SafeArray of embedded InkDisp objects (if appearing as ink) in the current selection.

For more information about the VARIANT structure, see Using the COM Library.

Remarks

Ink must be recognized before being accessed through this property. If it is not recognized first, the SelInks property always contains zero InkDisp objects. You must either call the Recognize method (if the RecognitionTimeout property equals 0) or wait until the ink is automatically recognized (when the value of the RecognitionTimeout property is greater than 0) to access ink through this property.

The InkEdit control ignores any InkDrawingAttributes on ink set through the SelInks property. Instead, the InkEdit control applies alternate drawing attributes according to the attributes of nearby text.

This property is run time only.

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Inked.h (also requires inked_i.c)

Library

InkEd.dll

See also

InkEdit
Recognize Method [InkEdit Control]
RecoTimeout Property
InkDisp Class

 

 

Show: