This documentation is archived and is not being maintained.

PersistenceFormat Enumeration

Defines values that specify how ink is persisted.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

public enum PersistenceFormat

Member nameDescription
InkSerializedFormatSpecifies ink that is persisted using Ink Serialized Format (ISF). This is the most compact persistent representation of ink. It can be embedded within a binary document format or placed directly on the Clipboard.
Base64InkSerializedFormatSpecifies ink that is persisted by encoding the ink serialized format (ISF) as a base64 stream. This format is provided so ink can be encoded directly in an Extensible Markup Language (XML) or HTML file.
GifSpecifies ink that is persisted by using a Graphics Interchange Format (GIF) file that contains Ink Serialized Format (ISF) as metadata embedded within the file. This allows ink to be viewed in applications that are not ink-enabled and maintain its full ink fidelity when it returns to an ink-enabled application. This format is ideal when transporting ink content within an HTML file and making it usable by ink-enabled and ink-unaware applications.
Base64GifSpecifies ink that is persisted by using a base64 encoded fortified Graphics Interchange Format (GIF). This format is provided when ink is to be encoded directly in an Extensible Markup Language (XML) or HTML file with later conversion into an image. A possible use of this is in an Extensible Markup Language (XML) format that is generated to contain all ink information and used as a way to generate HTML through Extensible Stylesheet Language Transformations (XSLT).

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.0