Table of Contents

TTMSFNCClipBoard.GetCustomValue Method

Reads a custom clipboard value using the specified Windows format identifier and raw data pointer.

API unit family: TMSFNCUtils Declaring type: TTMSFNCClipBoard

Overloads

Overload 1

Reads a custom clipboard value using the specified Windows format identifier and raw data pointer.

class function GetCustomValue(AFormat: Cardinal; AData: Pointer): TValue; virtual;

Parameters

Name Description
AFormat The Windows clipboard format identifier to retrieve.
AData Pointer to the raw clipboard data block to deserialize.

Returns

The deserialized value from the clipboard data block.

Overload 2

Reads a custom clipboard value using the specified format name and macOS NSData block.

class function GetCustomValue(AFormat: String; AData: NSData): TValue; virtual;

Parameters

Name Description
AFormat The macOS clipboard format name to retrieve.
AData The NSData object containing the raw clipboard data to deserialize.

Returns

The deserialized value from the clipboard data block.

Overload 3

Reads a custom clipboard value using the specified format name and raw data pointer.

class function GetCustomValue(AFormat: String; AData: Pointer): TValue; virtual;

Parameters

Name Description
AFormat The platform clipboard format name to retrieve.
AData Pointer to the raw clipboard data block to deserialize.

Returns

The deserialized value from the clipboard data block.