ClipboardFormat Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. Core. SDK
- Assembly
TXTextControl.Core. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. Core. SDK TXTextControl.from the setup.dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines a certain clipboard format that can be pasted into a TextControl document. The enumeration contains the following values:
Syntax
public enum ClipboardFormatPublic Enum ClipboardFormatMembers
| Member | Value | Description |
|---|---|---|
| Barcode | 11 | Specifies a barcode. |
| Chart | 10 | Specifies a chart. |
| HTMLFormat | 9 | Specifies HTML format (Hypertext Markup Language). |
| Image | 4 | Specifies an image. An image can be pasted, if it is a device dependent or a device independent bitmap, a TIFF image or a Windows metafile. |
| PlainText | 5 | Specifies unformatted text. |
| RichTextFormat | 3 | Specifies RTF format (Rich Text Format). |
| TXTextControlFormat | 2 | Specifies formatted text in the internal TX Text Control format. |
| TXTextControlImage | 8 | Specifies an image including information about how the image is positioned in the document (inline or geometrically positioned). |
| TXTextControlTextframe | 7 | Specifies a TX Text Control textframe including its contents. The clipbord contains also information about how the textframe is positioned in the document (inline or geometrically positioned). |
| Drawing | 12 | Not described in the reference. |
Examples
The following example selects the TXText Control Format value from the Clipboard Format enumeration and uses it as a documented workflow choice.
ClipboardFormat value = ClipboardFormat.TXTextControlFormat;
Console.WriteLine($"Using Clipboard Format: {value}");Dim value As ClipboardFormat = ClipboardFormat.TXTextControlFormat
Console.WriteLine($"Using Clipboard Format: {value}")See Also
TextControl.GetClipboardFormats Method, WPF.TextControl.GetClipboardFormats Method, TextControl.Paste Method, WPF.TextControl.Paste Method.