TXTextControl.ClipboardFormats Property

Returns an array of Integer values specifying all the data formats which are currently available in the clipboard and which can be pasted into a TextControl document. Possible values are listed below in the Constants section. The array's lowest index is 1, the upper bound can be determined with the UBound function. If there is no data format available, the size of the array is 0.

Introduced: 21.0.




Valid values for the array members are:

Constant Description
TXTextControlFormat (2)

Specifies formatted text in the internal TX Text Control format.

RichTextFormat (3)

Specifies RTF format (Rich Text Format).

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.

OLEObject (6)

Specifies an OLE object.

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).

TXTextControlImage (8)

Specifies an image including information about how the image is positioned in the document (inline or geometrically positioned).

HTMLFormat (9)

Specifies HTML format (Hypertext Markup Language).

Data Types

Property value: Array of Integer


Read only, run time only.

See Also