InkCanvasClipboardFormat Enumeración

Definición

Especifica los formatos que InkCanvas aceptará del Portapapeles.Specifies the formats that an InkCanvas will accept from the Clipboard.

public enum class InkCanvasClipboardFormat
public enum InkCanvasClipboardFormat
type InkCanvasClipboardFormat = 
Public Enum InkCanvasClipboardFormat
Herencia
InkCanvasClipboardFormat

Campos

InkSerializedFormat 0

Indica que InkCanvas admite el Formato serializado de entrada de lápiz (ISF).Indicates that the InkCanvas accepts Ink Serialized Format (ISF).

Text 1

Indica que InkCanvas admite texto.Indicates that the InkCanvas accepts text.

Xaml 2

Indica que InkCanvas acepta el formato "Lenguaje XAML".Indicates that the InkCanvas accepts "Extensible Application Markup Language" (XAML) format.

Ejemplos

En el ejemplo siguiente se establece el PreferredPasteFormats para que InkCanvas acepte el Lenguaje XAML (Extensible Application Markup Language)Extensible Application Markup Language (XAML) formato Accept, Formato serializado de tinta (ISF)Ink Serialized Format (ISF) .The following example sets the PreferredPasteFormats to make the InkCanvas accept Lenguaje XAML (Extensible Application Markup Language)Extensible Application Markup Language (XAML) format, Formato serializado de tinta (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

Se aplica a