[Overview][Types][Classes][Procedures and functions][Index] |
Gets the list of supported formats for the clipboard.
Source position: clipbrd.pp line 210
public procedure TClipboard.SupportedFormats( |
List: TStrings |
); |
var AFormatCount: Integer; |
var FormatList: PClipboardFormat |
); |
List |
|
TStrings instance with the MIME types for the supported clipboard formats. |
AFormatCount |
|
Returns the number of TClipboardFormat instances in FormatList. |
FormatList |
|
Pointer to a block of TClipboardFormat instances with the supported clipboard formats. |
SupportedFormats is an overloaded method in TClipboard. One variant accepts a TStrings argument where the MIME types for the supported clipboard formats is stored. The other variant provides updatable variable arguments which contain the number of supported formats and a pointer to a list of the supported TClipboardFormat instances.
Both versions use cached data when available, or call ClipboardGetFormats in the LCL interface to retrieve the supported clipboard formats.
Version 4.0 | Generated 2025-05-03 | Home |