Export (0) Print
Expand All

InkPicture.SelectionMoved event

Applies to: desktop apps only

Occurs when the position of the current selection has changed, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.

Syntax

void SelectionMoved(
  [in]  IInkRectangle *OldSelectionRect
);

Parameters

OldSelectionRect [in]

The bounding rectangle of the selected InkStrokes collection as it existed before the SelectionMoved event fired.

Note  This rectangle is specified in ink space coordinates, which allows for undo scenarios.

Return value

This event does not return a value.

Remarks

This event method is defined in the _IInkOverlayEvents and _IInkPictureEvents dispatch-only interfaces (dispinterfaces) with an ID of DISPID_IOESelectionMoved.

To get the new bounding rectangle of the collection of strokes that have been moved, call the Selection.GetBoundingBox method.

Requirements

Minimum supported client

Windows XP Tablet PC Edition

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

Library

InkObj.dll

See also

InkPicture
Selection Property [InkPicture Control]
InkRectangle Class

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft