Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Syntax and Functions for Find & Replace

Explorer ,
Feb 27, 2018 Feb 27, 2018

Hello guys, I want syntax and functions for find and replace actions. If anyone knows please assist me. Thank you.

TOPICS
Acrobat SDK and JavaScript , Windows
469
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2018 Feb 27, 2018

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 27, 2018 Feb 27, 2018

Thanks for the info. Could you please give any reference to functions and syntax for actions you mentioned.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2018 Feb 27, 2018
LATEST

The addAnnot method of the Document object can be used to create a Redaction annotation, and the applyRedactions method to apply it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines