InkPersistenceFormat

4/8/2010

Defines values for the formats that are used to save the IInkDisp object to a serialized format.

Syntax

typedef enum InkPersistenceFormat {
    IPF_InkSerializedFormat = 0,
    IPF_Base64InkSerializedFormat = 1,
    IPF_GIF = 2,
    IPF_Base64GIF = 3
} InkPersistenceFormat;

Members

The following tables list the enumeration values.

Name Description

InkSerializedFormat

Specifies that ink 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 that ink is persisted by encoding the Ink Serialized Format (ISF) as a base64 stream.

This format is provided so that ink can be encoded directly in an Extensible Markup Language (XML) or HTML file.

Gif

Specifies that ink is persisted by using a Graphics Interchange Format (GIF) file that contains ISF as metadata that is 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 that ink is persisted by using a base64 encoded fortified.

This GIF format is provided when ink is to be encoded directly in an XML or HTML file with later conversion into an image. A possible use of this would be in an XML format that is generated to contain all ink information and used as a way to generate HTML through Extensible Stylesheet Language Transformations (XSLT).

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference