InkCanvasClipboardFormat InkCanvasClipboardFormat InkCanvasClipboardFormat InkCanvasClipboardFormat Enum

Definition

Specifies the formats that an InkCanvas will accept from the Clipboard.

public enum class InkCanvasClipboardFormat
public enum InkCanvasClipboardFormat
type InkCanvasClipboardFormat = 
Public Enum InkCanvasClipboardFormat
Inheritance
InkCanvasClipboardFormatInkCanvasClipboardFormatInkCanvasClipboardFormatInkCanvasClipboardFormat

Fields

InkSerializedFormat InkSerializedFormat InkSerializedFormat InkSerializedFormat 0

Indicates that the InkCanvas accepts Ink Serialized Format (ISF).

Text Text Text Text 1

Indicates that the InkCanvas accepts text.

Xaml Xaml Xaml Xaml 2

Indicates that the InkCanvas accepts "Extensible Application Markup Language" (XAML) format.

Examples

The following example sets the PreferredPasteFormats to make the InkCanvas accept Extensible Application Markup Language (XAML) format, Ink Serialized Format (ISF).

InkCanvasClipboardFormat[] formats = new InkCanvasClipboardFormat[]
                            { 
                              InkCanvasClipboardFormat.InkSerializedFormat,
                              InkCanvasClipboardFormat.Xaml
                            };

inkCanvas1.PreferredPasteFormats = formats;
Dim formats() As InkCanvasClipboardFormat = _
                {InkCanvasClipboardFormat.InkSerializedFormat, _
                 InkCanvasClipboardFormat.Xaml}

inkCanvas1.PreferredPasteFormats = formats

Applies to