Table of Contents

TTMSFNCClipBoard.GetValue Method

Reads a value from the clipboard using the specified Windows format identifier.

API unit family: TMSFNCUtils Declaring type: TTMSFNCClipBoard

Overloads

Overload 1

Reads a value from the clipboard using the specified Windows format identifier.

class function GetValue(AFormat: Cardinal): TValue; virtual;

Parameters

Name Description
AFormat The Windows clipboard format identifier to retrieve.

Returns

The value stored on the clipboard for the given format, or an empty TValue if unavailable.

Overload 2

Reads a value from the clipboard using the specified named format string.

class function GetValue(AFormat: String): TValue; virtual;

Parameters

Name Description
AFormat The platform clipboard format name to retrieve.

Returns

The value stored on the clipboard for the given format, or an empty TValue if unavailable.