StrokeCollection.InkSerializedFormat Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Represents the native persistence format for ink data.

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

public static readonly string InkSerializedFormat

Field Value

Type: System.String

Use the InkSerializedFormat field to specify the format of the StrokeCollection when you transfer data, such as when you copy the StrokeCollection to the Clipboard.

The following example demonstrates how to copy a StrokeCollection to the Clipboard. The example specifies that the StrokeCollection is in Ink Serialized Format (ISF), so that other programs, such as Microsoft Office Word can accept the copied data.

public void CopyStrokeCollection(StrokeCollection strokes)
    MemoryStream strokesInMemory = new MemoryStream();

    DataObject dataobj = new DataObject(StrokeCollection.InkSerializedFormat,

    Clipboard.SetDataObject(dataobj, true);


.NET Framework
Available since 3.0
Return to top