InkCanvasClipboardFormat InkCanvasClipboardFormat InkCanvasClipboardFormat InkCanvasClipboardFormat Enum

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
InkCanvasClipboardFormatInkCanvasClipboardFormatInkCanvasClipboardFormatInkCanvasClipboardFormat

Campos

InkSerializedFormat InkSerializedFormat InkSerializedFormat 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 Text Text Text 1

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

Xaml Xaml Xaml Xaml 2

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

Ejemplos

El ejemplo siguiente se establece la PreferredPasteFormats para realizar la InkCanvas acepte Lenguaje XAML (Extensible Application Markup Language)Extensible Application Markup Language (XAML) formato, 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