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

function EscapeString(AValue: UnicodeString): String;

Parameters

Name Description
AValue String to escape.

Returns

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