Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.AddHex4 Method

Formats a 16-bit word value as a four-digit uppercase hexadecimal string.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function AddHex4(AWordValue: Cardinal): String;
System::UnicodeString __fastcall AddHex4(unsigned AWordValue);

Parameters

Name Description
AWordValue Value to format.

Returns

Four-digit uppercase hexadecimal string, zero-padded to four characters.