TX Text Control .NET Server

ClipboardFormat Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as 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 ClipboardFormat

Members

MemberValueDescription
Barcode11Specifies a barcode.
Chart10Specifies a chart.
HTMLFormat9Specifies HTML format (Hypertext Markup Language).
Image4Specifies 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.
PlainText5Specifies unformatted text.
RichTextFormat3Specifies RTF format (Rich Text Format).
TXTextControlFormat2Specifies formatted text in the internal TX Text Control format.
TXTextControlImage8Specifies an image including information about how the image is positioned in the document (inline or geometrically positioned).
TXTextControlTextframe7Specifies 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).
Drawing12Not 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}");

See Also

TextControl.GetClipboardFormats Method, WPF.TextControl.GetClipboardFormats Method, TextControl.Paste Method, WPF.TextControl.Paste Method.

Further Reading