IInkOverlay::get_Selection method (msinkaut.h)

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

This property is read/write.

Syntax

HRESULT get_Selection(
  IInkStrokes **Selection
);

Parameters

Selection

Return value

None

Remarks

To get the bounding rectangle of the InkStrokes collection after it has been moved or resized, call the GetBoundingBox method of the InkStrokes collection returned by this property.

To get the bounding rectangle of the InkStrokes collection before it was moved, handle the InkOverlay or the InkPicture event.

To get the bounding rectangle of the InkStrokes collection before it was resized, handle the InkOverlay or the InkPicture event.

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

IInkOverlay

InkOverlay Class

InkStrokes Collection

SelectionMoved Event [InkPicture Control]

SelectionResized Event [InkPicture Control]