FMX.Clipboard.IFMXExtendedClipboardService.HasCustomFormat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HasCustomFormat(const AFormatName: string): Boolean;

C++

virtual bool __fastcall HasCustomFormat(const System::UnicodeString AFormatName) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
FMX.Clipboard.pas
FMX.Clipboard.hpp
FMX.Clipboard IFMXExtendedClipboardService

Description

Returns True if the system clipboard contains data stored in the specified custom format or False otherwise.

Exceptions

GetCustomFormat may raise one of the following exceptions:

Exception Message Scenarios

EClipboardFormatNotRegistered

<AFormatName>

  • The specified custom format identifier, AFormatName, has not been registered. You must register any custom format identifier before you use it.

ENotSupportedException

JClipboardManager does not support custom data

See Also