Copy link to clipboard
Copied
Hello guys, I want syntax and functions for find and replace actions. If anyone knows please assist me. Thank you.
Copy link to clipboard
Copied
Hello guys, I want syntax and functions for find and replace actions. If anyone knows please assist me. Thank you.
Copy link to clipboard
Copied
Do you mean Find and Replace static text? If so, there's no such option in JavaScript.
You can redact text and use the Overlay Text option to insert new text, but it's not really the same because it doesn't reflow the document, or match fonts.
Copy link to clipboard
Copied
Thanks for the info. Could you please give any reference to functions and syntax for actions you mentioned.
Copy link to clipboard
Copied
The addAnnot method of the Document object can be used to create a Redaction annotation, and the applyRedactions method to apply it.