InkStrokeBuilder.AppendToStroke(PointerPoint) 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.
Adds a new segment to the ink stroke.
AppendToStroke is called after BeginStroke and before EndStroke during the InkStroke building process.
Note
AppendToStroke is not supported by InkPresenter. Use CreateStrokeFromInkPoints and SetDefaultDrawingAttributes to programmatically build strokes for an InkPresenter.
public:
virtual PointerPoint ^ AppendToStroke(PointerPoint ^ pointerPoint) = AppendToStroke;
PointerPoint AppendToStroke(PointerPoint const& pointerPoint);
public PointerPoint AppendToStroke(PointerPoint pointerPoint);
function appendToStroke(pointerPoint)
Public Function AppendToStroke (pointerPoint As PointerPoint) As PointerPoint
Parameters
- pointerPoint
- PointerPoint
The end point of the new segment.
Returns
The previous end point. This end point can be used when rendering the stroke.
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