NOTE: This is Beta version of ReplaceText. The feature may not be supported well for some PDF files and we may be not able to fix it in short time.
Replaces srcString in the PDF file with descString.
Parameters
- srcString
- The string to be replaced.
- descString
- The replaced string.
Example
[C#]
PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf(inputPath + "text.pdf");
editor.ReplaceText("Pdf", "WordPpt");
editor.Save(outputPath + "replace.pdf");
[Visual Basic]
Dim editor As PdfContentEditor = New PdfContentEditor()
editor.BindPdf(inputPath + "text.pdf")
editor.ReplaceText("Pdf", "