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

Declaration
property AvailableFormats: TStrings;  

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

Example
// 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.