Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.ConvertStringToHex Method

Converts a Unicode string to its hexadecimal byte representation for use in PDF hex strings.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

FMX.TMSFNCPDFCoreLibBase.hppPascalC++
function ConvertStringToHex(AValue: UnicodeString): String;
System::UnicodeString __fastcall ConvertStringToHex(System::UnicodeString AValue);

Parameters

Name Description
AValue String to convert.

Returns

Hexadecimal string suitable for embedding inside PDF angle-bracket hex string literals.