InkStroke.Clone | clone method

[ The Clone method is not supported in Windows 8 but is reserved for future use. ]

Copies the InkStroke to another InkManager (or InkStrokeContainer).

Syntax


var inkStroke = inkStroke.clone();

Parameters

This method has no parameters.

Return value

Type: InkStroke

The new stroke.

Remarks

This method must be used with AddStroke (InkManager) or AddStroke (InkStrokeContainer).



inkStrokeContainer.AddStroke(stroke.Clone());
inkManager.AddStroke(stroke.Clone());

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

See also

InkStroke
Responding to pen and stylus input
Ink App sample

 

 

Show:
© 2015 Microsoft