Ink.ExtractStrokes Method

Ink.ExtractStrokes Method

Extracts Stroke objects from the Ink object and returns a new Ink object containing the extracted Stroke objects.

Overload List

public Ink ExtractStrokes()
public Ink ExtractStrokes(Rectangle)
public Ink ExtractStrokes(Rectangle, ExtractFlags)
public Ink ExtractStrokes(Strokes)
public Ink ExtractStrokes(Strokes, ExtractFlags)

Remarks

The new Ink object retains the drawing attributes, properties, and coordinates of the original Ink object.

The default behavior for this method is to remove the Strokes collection from the original Ink object. To preserve the Strokes collection in the original Ink object and make a copy of the Ink, call either the ExtractStrokes(Strokes,ExtractFlags) or ExtractStrokes(Rectangle,ExtractFlags) overload of this method with the extractionFlags parameter set to CopyFromOriginal.

Examples

See Also