Partager via


InkClipboardFormats Enumeration

InkClipboardFormats Enumeration

Defines values that specify the format of ink that is stored on the Clipboard.

This enumeration has a FlagsAttribute Leave Site attribute that allows a bitwise combination of its member values.

Definition

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

Constants

Constant Name Description
None Specifies a flag that can be used to verify whether any formats are present by checking against it.
InkSerializedFormat Specifies ink is encoded in Ink Serialized Format (ISF). This is the most compact persistent representation of ink. Although it often contains only ink data, is extensible. Applications can set custom attributes (identified by a globally unique identifier (GUID)) on an Ink object, stroke, or point. This allows an application to store any kind of data or metadata it requires as an attribute in an Ink Serialized Format (ISF) stream.
SketchInk Specifies ink is not expected to form words, but rather is interpreted as a picture. This is also useful for representing multiple words.
TextInk Specifies ink is expected to form words. It allows the ink to be converted to text. The recognized text is either the alternate with the greatest confidence rating or another alternate chosen from a list. This is useful for representing a single word.

This format includes the SketchInk format.

EnhancedMetafile Specifies the enhanced metafile to play to create the background. The metafile must remain valid for as long as it is used to render the ink background.
Metafile Specifies ink is stored as a metafile or a list of commands that can be played back to draw a graphic.
Bitmap Specifies the bitmap to use as the background. The bitmap device context must remain valid for as long as it is used to render the ink background.
PasteMask Specifies the formats that can be used for pasting.

This format includes the TextInk, SketchInk, and InkSerializedFormat formats.

CopyMask Specifies the formats that are copied to the Clipboard through ink.
Default The CopyMask format.

Remarks

For more information about the sketch ink and text ink objects, see sInk and tInk Objects.

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