Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PersistenceFormat Enumeration

PersistenceFormat Enumeration

Defines values that specify how ink is persisted.

Definition

Visual Basic .NET Public Enum PersistenceFormat
C# public enum PersistenceFormat
Managed C++ __value public enum PersistenceFormat

Constants

Constant Name Description
InkSerializedFormat Specifies 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.

Base64InkSerializedFormat Specifies 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.

Gif Specifies 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.

Base64Gif Specifies 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).

Enumeration Information

Namespace Microsoft.Ink
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also

Show:
© 2015 Microsoft