InkCanvasClipboardFormat 열거형

정의

InkCanvas가 클립보드에서 받아들이는 형식을 지정합니다.Specifies the formats that an InkCanvas will accept from the Clipboard.

public enum class InkCanvasClipboardFormat
public enum InkCanvasClipboardFormat
type InkCanvasClipboardFormat = 
Public Enum InkCanvasClipboardFormat
상속
InkCanvasClipboardFormat

필드

InkSerializedFormat 0

InkCanvas에서 ISF(Serialize된 잉크 형식)를 받도록 지정합니다.Indicates that the InkCanvas accepts Ink Serialized Format (ISF).

Text 1

InkCanvas에서 텍스트를 받도록 지정합니다.Indicates that the InkCanvas accepts text.

Xaml 2

InkCanvas에서 XAML(Extensible Application Markup Language) 형식을 받도록 지정합니다.Indicates that the InkCanvas accepts "Extensible Application Markup Language" (XAML) format.

예제

다음 예제에서는 PreferredPasteFormats InkCanvas accept EXTENSIBLE APPLICATION MARKUP LANGUAGE (XAML) 형식, ISF (잉크 Serialize 된 형식)를 만들도록를 설정 합니다.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

적용 대상