TClipboard.SupportedFormats procedure
Gets the list of supported formats for the clipboard.
Declaration
procedure SupportedFormats(List: TStrings)
procedure SupportedFormats(var AFormatCount: Integer;
var FormatList: PClipboardFormat)Arguments
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. |
Description
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
