THotPDF.ReplaceLoadedDocumentText Method

 

THotPDF.ReplaceLoadedDocumentText

THotPDF

 

Top

Rewrites every occurrence of a specified text (Needle) across the whole document with the Replacement text. Returns True if successful, and ReplaceCount receives the number of operand rewrites performed

 

Delphi syntax:

function ReplaceLoadedDocumentText(const Needle, Replacement: UnicodeString; MatchCase: boolean; out ReplaceCount: Integer): boolean;

 

Description

Rewrites every occurrence of a specified text (Needle) across the whole document with the Replacement text. Returns True if successful, and ReplaceCount receives the number of operand rewrites performed