InkPicture.Selection property

Gets or sets theInkStrokes collection that is currently selected inside the InkOverlay object or the InkPicture control.

This property is read/write.

Syntax


HRESULT put_Selection(
  [in]          IInkStrokes *Selection
);

HRESULT get_Selection(
  [out, retval] IInkStrokes **Selection
);

Property value

The InkStrokes collection that is currently selected inside the InkOverlay object or the InkPicture control.

Error codes

NameMeaning
S_OK

Success.

E_POINTER

The Selection parameter is an invalid pointer.

E_INK_EXCEPTION

An exception occurred while processing.

Remarks

For further details about this property, refer to the Selection Property property of the InkOverlay Class, which has the same functionality.

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkPicture
InkPicture Control

 

 

Show: