InkManager.MoveSelected(Point) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample