Export (0) Print
Expand All
Expand Minimize

InkCanvasClipboardFormat Enumeration

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

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

'Declaration
Public Enumeration InkCanvasClipboardFormat
<object property="enumerationMemberName" .../>

Member nameDescription
InkSerializedFormatIndicates that the InkCanvas accepts Ink Serialized Format (ISF).
TextIndicates that the InkCanvas accepts text.
XamlIndicates that the InkCanvas accepts "Extensible Application Markup Language" (XAML) format.

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

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

inkCanvas1.PreferredPasteFormats = formats

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft