Flatten Watermarks, Headers, Bates Numbers

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Flatten Watermarks, Headers, Bates Numbers

Post by RMan »

Is there any way to flatten things like the Watermarks, Headers and Footers, Bates Numbering?

It would be really great if these features had an option to create as Content Items like the Add Image because the dialogs really work well for users but the users still think that it has to be flattened to be secure.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Flatten Watermarks, Headers, Bates Numbers

Post by Sasha - Tracker Dev Team »

Hello RMan,

Watermarks, HaFs and BNs are Content Items - they are XForms with the data you have specified. You can open the content panel and see for yourself or chose the Edit Content to select them.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
RMan
User
Posts: 221
Joined: Tue Jul 02, 2013 10:06 pm

Re: Flatten Watermarks, Headers, Bates Numbers

Post by RMan »

Thanks. Is there a somewhat easy way to convert them to base content objects though instead of XForms? The customer would like it to where someone would have to use a content editing tool to remove it and not just use the Manage Watermarks.

I'm basically being too lazy to use the addText or addImage and calculate all of the size and location parameters to match up how your watermarks do work.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Flatten Watermarks, Headers, Bates Numbers

Post by Sasha - Tracker Dev Team »

Hello RMan,

There are two ways to remove the Pagemarks indication:
1) Go to PDF Structure and remove Piece info of the needed objects. This will result in complex code structure and also a possibility to corrupt the PDF if you don't know what you are doing and we won't do it for you.
2) Catch the XForm adding event and then move the content from the XForm to the page. This will also require even greater coding that you would normally do by using addText/addImage as you would have to position it just as you would with these methods.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply