Redacting multiple words across PDF lines/pages with VBA & acrobat javascript

Hi, I have managed to create a bounding rectangle around a string of selected words in a PDF document using VBA and the JavaScript object. However, I use only 1 set of rectangle coordinates (getboundingrect) around the highlighted words. As long as these selected words are on the same line, no problem. However, if the selected words fall on 2 lines, the (single) bounding rectangle used with annot changes the bounding rectangle to encompass 2 whole lines.

Jso has no proper selection object. Would I need to find the coordinates of each selected word just to check if they are on the same line and then give commands for more than one bounding rectangle? Or is there another way to do this? Would appreciate the vba code

Thanks in advance

By: Shawn Pereira

537 thoughts on “Redacting multiple words across PDF lines/pages with VBA & acrobat javascript

  1. jasa seo

    Thanks a ton very significantly for the high high quality and results-oriented help. We won’t consider to support your blog post in order to anybody who wants and wishes support about this place.

  2. 출장안마

    This blog is without a doubt entertaining additionally informative. I have picked many handy things out of this source. I ad love to return again soon. Thanks a lot!

  3. SEO Youtube

    Woah! I’m enjoying the template/theme of this website. Really simple, yet effective. The lot of times it is extremely hard to get of which “perfect balance” between excellent usability and visual charm. I must say you might have done a very very good job with this particular.

  4. produksicetak.com

    Hi there We are so thrilled I came across your website, I definitely found you by blunder, while I was exploring Yahoo for something otherwise, Anyhow I am below now and would simply like to say thanks a ton for a tremendous article and an all circular exciting blog (I in addition love the theme/design), My partner and i don’t have time to be able to undergo it all in the minute but We have saved it as well as added in your RSS OR ATOM feeds, while I have got time I will get returning to read more, Remember to do carry on the amazing job.

  5. jenis usaha digital printing

    Hello! This is certainly my initial visit to your website! We all are a team involving volunteers and starting a fresh initiative in a local community within the same niche. Your own blog provided us valuable information to be effective on. An individual have done a superb work.

  6. liputan bus pariwisata

    Thanks a ton very significantly for the high top quality and results-oriented help. We won’t think carefully to promote your blog post in order to anybody who wants and desires support about this location.

Comments are closed.