InkPicture.SelectionMoved event
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
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
Library |
|