Skip to main content
Table of Contents

TTMSFNCPDFGraphicsLibOutputWriter.EscapeString Method

Escapes special PDF characters in AValue so the string can be safely embedded in a PDF literal string.

API unit family: TMSFNCPDFCoreLibBase Declaring type: TTMSFNCPDFGraphicsLibOutputWriter

Syntax

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

Parameters

Name Description
AValue String to escape.

Returns

Escaped string with backslash-prefixed parentheses and other reserved PDF characters.