InkCanvasClipboardFormat Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the formats that an InkCanvas will accept from the Clipboard.
public enum class InkCanvasClipboardFormat
public enum InkCanvasClipboardFormat
type InkCanvasClipboardFormat =
Public Enum InkCanvasClipboardFormat
- Inheritance
Name | Value | Description |
---|---|---|
InkSerializedFormat | 0 | Indicates that the InkCanvas accepts Ink Serialized Format (ISF). |
Text | 1 | Indicates that the InkCanvas accepts text. |
Xaml | 2 | Indicates 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).
InkCanvasClipboardFormat[] formats = new InkCanvasClipboardFormat[]
{
InkCanvasClipboardFormat.InkSerializedFormat,
InkCanvasClipboardFormat.Xaml
};
inkCanvas1.PreferredPasteFormats = formats;
Dim formats() As InkCanvasClipboardFormat = _
{InkCanvasClipboardFormat.InkSerializedFormat, _
InkCanvasClipboardFormat.Xaml}
inkCanvas1.PreferredPasteFormats = formats
Produkt | Verze |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Zpětná vazba k produktu .NET
.NET je open source projekt. Vyberte odkaz pro poskytnutí zpětné vazby: