Storing Ink
Collapse the table of content
Expand the table of content

Storing Ink

 

The Save methods provide support for storing ink as Ink Serialized Format (ISF). Constructors for the StrokeCollection class provide support for reading ink data.

This section discusses how to store and retrieve ink in the WPF platform.

The following example implements a button-click event handler that presents the user with a File Save dialog box and saves the ink from an InkCanvas out to a file.

The following example implements a button-click event handler that presents the user with a File Open dialog box and reads ink from the file into an InkCanvas element.

Show:
© 2016 Microsoft