SelInks Property

SelInks Property

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

Declaration

[C++]

[propput] HRESULT put_SelInks ([in] VARIANT SelInks);
[propget] HRESULT get_SelInks ([out, retval] VARIANT* SelInks);

[Microsoft® Visual Basic® 6.0]

Public Property Get SelInks() As Variant()
Public Property Let SelInks(ByVal theSelInks As Variant())

Property Value

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

This property is read/write.

For more information about the VARIANT structure, see Using the Automation 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 InkEdit::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.

Applies To