Skip to main content
sonun70385355
Participating Frequently
December 14, 2017
Answered

Regarding to use sdk

  • December 14, 2017
  • 1 reply
  • 913 views

I want to Trim the PDF using SDK want to remove the white space with some watermarks but not able to find any way.Needs help.

This topic has been closed for replies.
Correct answer Thom Parker

This is easier done with JavaScript than with a plug-in. 

1. PDF watermarks are on OCG layers. So if you turn the layer off, the watermark will disappear.

Here's an article on the topic: https://acrobatusers.com/tutorials/create_use_layers

2. The visible edges of a PDF are controlled with the "Crop" box. 

Here's an article: https://acrobatusers.com/tutorials/finding-page-boundaries

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
December 14, 2017

This is easier done with JavaScript than with a plug-in. 

1. PDF watermarks are on OCG layers. So if you turn the layer off, the watermark will disappear.

Here's an article on the topic: https://acrobatusers.com/tutorials/create_use_layers

2. The visible edges of a PDF are controlled with the "Crop" box. 

Here's an article: https://acrobatusers.com/tutorials/finding-page-boundaries

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
sonun70385355
Participating Frequently
December 18, 2017

Thanks for your help sir. I understood how to do that. Thanks again.

Participant
January 10, 2018

No