.ReplaceText (.PdfDocument Objektmethode)
Inhaltsverzeichnis
Beschreibung¶
Replaces every occurrence of OldText using a redaction-style overlay (the original text is covered and the new text drawn on top). This does not reflow surrounding text. Call Save afterwards to obtain the modified PDF.
Argumente¶
Name | Typ | Beschreibung |
|---|---|---|
OldText | the text to replace | |
NewText | the replacement text (empty to only redact the original) | |
MatchCase | (optional) 1 for case-sensitive search 0 otherwise (default 0) | |
MatchWholeWord | (optional) 1 to match whole words only 0 otherwise (default 0) |
Rückgabewert integer¶
number of occurrences replaced
Beispiel¶
xxx |
|---|