FMX.Clipboard.IFMXExtendedClipboardService.SetCustomFormat
Delphi
procedure SetCustomFormat(const AFormatName: string; const AStream: TStream);
C++
virtual void __fastcall SetCustomFormat(const System::UnicodeString AFormatName, System::Classes::TStream* const AStream) = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | FMX.Clipboard.pas FMX.Clipboard.hpp | FMX.Clipboard | IFMXExtendedClipboardService | 
Description
Fills the system clipboard with the specified stream of data in the specified registered custom format.
Exceptions
SetCustomFormat may raise one of the following exceptions:
| Exception | Message | Scenarios | 
|---|---|---|
| AFormat parameter cannot be empty | 
 | |
| AStream parameter cannot be nil | 
 | |
| < | 
 | |
| JClipboardManager does not support custom data | 
 |