Skip to main content
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.

FMX.TMSFNCUtils.hppPascalC++
class function GetValue(AFormat: Cardinal): TValue; virtual;
__classmethod virtual System::Rtti::TValue __fastcall GetValue(unsigned AFormat);

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.

FMX.TMSFNCUtils.hppPascalC++
class function GetValue(AFormat: String): TValue; virtual;
__classmethod virtual System::Rtti::TValue __fastcall GetValue(unsigned AFormat);

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.