How to permanently crop or cop cropped area?

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, 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
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

How to permanently crop or cop cropped area?

Post by whoit »

Hi -

I have some PDFs that use a CropBox that is smaller than the MediaBox.

I'd like to either:
1) Copy the contents of the CropBox so that I can apply it to a new page
or
2) Make the Crop permanent by removing everything outside, including the excess Media. (preferred)
Should I just resize the MediaBox to match the CropBox?
(If so, will the page contents outside the new MediaBox be discarded/cropped out?)

Thanks.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: How to permanently crop or cop cropped area?

Post by Sasha - Tracker Dev Team »

Hello Wayne,

You already asked me that question:
viewtopic.php?f=67&t=29628&p=117412&hil ... ct#p117412

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
whoit
User
Posts: 269
Joined: Tue Jul 07, 2015 3:30 pm

Re: How to permanently crop or cop cropped area?

Post by whoit »

Whoops! :oops:

Sorry - you can delete this post....
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: How to permanently crop or cop cropped area?

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply