Table of Contents

TTMSFNCClipBoard.GetFormat Method

Returns the platform-specific clipboard format identifier for the given abstract clipboard format.

API unit family: TMSFNCUtils Declaring type: TTMSFNCClipBoard

Overloads

Overload 1

Returns the platform-specific clipboard format identifier for the given abstract clipboard format.

class function GetFormat(AFormat: TTMSFNCClipBoardFormat): Cardinal; virtual;

Parameters

Name Description
AFormat The abstract clipboard format to convert.

Returns

The Windows clipboard format identifier (CF_* constant or registered format id) for the given format.

Overload 2

Returns the platform-specific clipboard format name for the given abstract clipboard format.

class function GetFormat(AFormat: TTMSFNCClipBoardFormat): string; virtual;

Parameters

Name Description
AFormat The abstract clipboard format to convert.

Returns

The platform clipboard format name string for the given format.

Overload 3

Returns the platform-specific clipboard format name for the given abstract clipboard format.

class function GetFormat(AFormat: TTMSFNCClipBoardFormat): string; virtual;

Parameters

Name Description
AFormat The abstract clipboard format to convert.

Returns

The VCL clipboard format name string for the given format.