new FindReplace()
The class FindReplace.
static interface to Iceni Find/Replace text functionality
Classes
Methods
-
<static> createFindReplaceOptions()
-
Method to create a FindReplaceOptions object
Returns:
A promise that resolves to a PDFNet.FindReplace.FindReplaceOptions.- Type
- Promise.<PDFNet.FindReplace.FindReplaceOptions>
-
<static> findReplaceText(input, from, to [, options])
-
Finds and Replaces text within a PDF.
Parameters:
Name Type Argument Description input
PDFNet.PDFDoc | PDFNet.SDFDoc | PDFNet.FDFDoc The pdf to be processed. from
string Text to find in the PDF. to
string Text to replace with in the PDF. options
PDFNet.FindReplace.FindReplaceOptions <optional>
FindReplace options (optional). Returns:
- Type
- Promise.<void>