TTMSFNCClipBoard.HasFormat Method
Returns whether the clipboard currently contains data in the specified Windows clipboard format.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCClipBoard
Overloads
Overload 1
Returns whether the clipboard currently contains data in the specified Windows clipboard format.
class function HasFormat(AFormat: Cardinal): Boolean; overload; virtual;
Parameters
| Name | Description |
|---|---|
AFormat |
The Windows clipboard format identifier to check, such as a value returned by RegisterClipboardFormat. |
Returns
True if data in the given format is present on the clipboard.
Overload 2
Returns whether the clipboard currently contains data in the specified named format.
class function HasFormat(AFormat: String): Boolean; overload; virtual;
Parameters
| Name | Description |
|---|---|
AFormat |
The platform clipboard format name to check. |
Returns
True if data in the given named format is present on the clipboard.
Overload 3
Returns whether the clipboard currently contains data in the specified format.
class function HasFormat(AFormat: TTMSFNCClipBoardFormat): Boolean; overload; virtual;
Parameters
| Name | Description |
|---|---|
AFormat |
The clipboard format to check for. |
Returns
True if data in the given format is available on the clipboard.