Udostępnij za pośrednictwem


InkStroke.Clone Method

Definition

Copies the InkStroke to another InkManager (or InkStrokeContainer).

public:
 virtual InkStroke ^ Clone() = Clone;
InkStroke Clone();
public InkStroke Clone();
function clone()
Public Function Clone () As InkStroke

Returns

The new stroke.

Remarks

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

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

Applies to

See also