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

Remove leftover Vector Object after redacting

New Here ,
Dec 29, 2021 Dec 29, 2021

After using the applyRedactions function from the api, the function leaves over these Vector Objects. Is there a way to remove them with more scripting?

 

I guess one solution is to make layers and then delete the Vector Objects layer... Is there a way to automate that? 

 

All I wanted to do was remove any text at the footer for all pages using js. Thanks 

 

Additional info:

Script I used I copypasta'd from here

Here's what I mean by Vector Images left by redacting

TOPICS
Acrobat SDK and JavaScript , Windows
565
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
New Here ,
Dec 29, 2021 Dec 29, 2021

Actually, making layers and then removing the layers won't work because it would remove other Vector Objects that are not left overs from the redacting.

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 ,
Dec 30, 2021 Dec 30, 2021

What happens when you use white as redaction color?

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
New Here ,
Dec 30, 2021 Dec 30, 2021
LATEST

Hey thanks for the suggestion. I have considered this as a solution, where I apply a white redaction to all pages and flatten it to get rid of the vector object. However, I don't want to do this because I would like to have other elements seperate.

 

Is there a way to uniquely identify vector objects that are filled (ie, vector objects left by the redact)?
Better yet, is there a way to delete object within a certain area of every page? Even if we can't uniquely target the vector object, is there a way to list all editeable objects within a page? Cause then I can just delete the last element, which would always be the element that I want to remove...

 

Thanks

 

 

 

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