TElectronClipboard
Below is a list of the properties and methods for TElectronClipboard
. This class allows reading and writing clipboard data. Instead of creating a TElectronClipboard
instance, ElectronClipboard
can be used.
Properties of TElectronClipboard
Property |
Description |
AsHTML: string |
Sets or returns the data from the clipboard in HTML format. |
AsImageURL: string |
Sets or returns the data from the clipboard in image data format. |
AsRTF: string |
Sets or returns the data from the clipboard in RTF format. |
AsText: string |
Sets or returns the data from the clipboard in plain text (string) format. |
FormatCount: Integer |
Returns the number of formats that are available in the clipboard at that moment. |
Formats |
A list of the available formats. |
Methods of TElectronClipboard
Property |
Description |
Clear |
Method to clear the data from the clipboard. |
HasFormat(Format: string): Boolean |
Returns true if the clipboard has data available in the given format. |