Sign in Join
FPDoc Onlineexperiment

TClipboard.FindFormatID function

Member of TClipboardpublicIn unit Clipbrd

Gets the clipboard format which used the specified name (MIME type).

Declaration

pascal
function FindFormatID(const FormatName: string): TClipboardFormat

Arguments

FormatName

Name (MIME type) for the clipboard format to locate in the supported Formats.

Function result

Clipboard format with the specified name (MIME type), or 0 (for the Text format) when not found.

Description

Used to implement the HasFormatName method, and when assigning the clipboard content to a TGraphic instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.