Share via


InkManager.MoveSelected(Point) Method

Definition

Note

For Universal Windows app using Extensible Application Markup Language (XAML), we recommend using InkPresenter and the InkCanvas control instead of InkManager.

Moves the selected strokes. All affected strokes are re-rendered.

public:
 virtual Rect MoveSelected(Point translation) = MoveSelected;
Rect MoveSelected(Point const& translation);
public Rect MoveSelected(Point translation);
function moveSelected(translation)
Public Function MoveSelected (translation As Point) As Rect

Parameters

translation
Point

The destination screen coordinates for the upper-left corner of the bounding rectangle of the selected strokes.

Returns

The bounding rectangle of the selected ink strokes.

Implements

Remarks

The following can result from a call to MoveSelected:

  • Moving one or more strokes that make up part of a word results in the reprocessing of existing ink recognition results.
  • Moving all strokes that make up a word results in the recalculation of the BoundingRect of the InkRecognitionResult. Ink recognition is not reprocessed.
  • Moving one or more strokes results in the recalculation of the BoundingRect for each stroke.
  • Moving one or more strokes results in the recalculation of the BoundingRect of the InkManager.

Applies to

See also