InkCanvasClipboardFormat InkCanvasClipboardFormat InkCanvasClipboardFormat InkCanvasClipboardFormat Enum

定義

InkCanvas がクリップボードから受け入れる形式を指定します。Specifies the formats that an InkCanvas will accept from the Clipboard.

public enum class InkCanvasClipboardFormat
public enum InkCanvasClipboardFormat
type InkCanvasClipboardFormat = 
Public Enum InkCanvasClipboardFormat
継承
InkCanvasClipboardFormatInkCanvasClipboardFormatInkCanvasClipboardFormatInkCanvasClipboardFormat

フィールド

InkSerializedFormat InkSerializedFormat InkSerializedFormat InkSerializedFormat 0

InkCanvas が ISF (Ink Serialized Format) を受け入れることを示します。Indicates that the InkCanvas accepts Ink Serialized Format (ISF).

Text Text Text Text 1

InkCanvas がテキストを受け入れることを示します。Indicates that the InkCanvas accepts text.

Xaml Xaml Xaml Xaml 2

InkCanvas が "XAML (Extensible Application Markup Language)" 形式を受け入れることを示します。Indicates that the InkCanvas accepts "Extensible Application Markup Language" (XAML) format.

次の例ではPreferredPasteFormats 、を設定InkCanvasExtensible Application Markup Language (XAML)Extensible Application Markup Language (XAML)て受け入れInk Serialized Format (ISF)Ink Serialized Format (ISF)形式を作成します。The following example sets the PreferredPasteFormats to make the InkCanvas accept Extensible Application Markup Language (XAML)Extensible Application Markup Language (XAML) format, Ink Serialized Format (ISF)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

適用対象