InkManager.AddStroke(InkStroke) Method

Definition

Note

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

Adds one or more InkStroke objects to the collection managed by the InkManager.

public:
 virtual void AddStroke(InkStroke ^ stroke) = AddStroke;
void AddStroke(InkStroke const& stroke);
public void AddStroke(InkStroke stroke);
function addStroke(stroke)
Public Sub AddStroke (stroke As InkStroke)

Parameters

stroke
InkStroke

The ink stroke to be added.

stroke must be created by using the Clone method, or through a call to EndStroke or ProcessPointerUp. Empty or existing strokes are not valid.

Implements

Applies to

See also