IInkOverlay::Selection

4/8/2010

Gets or sets the IInkStrokes collection that is currently selected inside the IInkOverlay object.

Syntax

[propput] HRESULT put_Selection ([in] IInkStrokes *Selection);
[propget] HRESULT get_Selection (
    [out, retval] IInkStrokes **Selection
);

Parameters

  • Selection
    The IInkStrokes collection that is currently selected inside the IInkOverlay object.

    This property is read/write.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

The Selection parameter is an invalid pointer.

E_INK_EXCEPTION

An exception occurred while processing.

Remarks

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

To get the bounding rectangle of the IInkStrokes collection before it was moved or resized, handle the IInkOverlay event.

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference