clipboard AvailableFormats property
Return to Introduction  Previous page  Next page
Applies to

property AvailableFormats: TStrings;  

The AvailableFormat property retrieves the list of formats (format names) which currently are available at the clipboard.  
tip To convert the format name to format index — use GetFormatIndex method. You can also retrieve the raw data of any format to string or stream using GetString or GetStream methods.  

// retrieving data from clipboard format by format name  
SomeDataFromClipboard := GetString(AvailableFormats[0]);  

See also
ClipboardBitmap, ClipboardFiles and ClipboardText properties;  
HasFormat, Clear, GetString, GetStream, PutString, PutStream, GetFormatIndex and GetFormatName methods;  
OnChange event.