i have to take pdfs out of a hotfolder, cut their margins and finally put the cutted pdf on a new pdf with a standard page size.
OK...
You do know there are good tools out there already that can do this, right??
because these pdfs can be cutted already (the cropbox), i take care about this and resize the cropbox to cut the margins. so far, so good.
Remember that cropping in PDF is non-destructive - so you aren't really "cutting the margins", but just hiding stuff...
the only problem i ran into, is that when i place the cutted pdf on a new (bigger) pdf, it is uncutted again, because i don't place just the content of the cropbox.
Correct.
is it possible to take just the cropbox-content and place it on a new pdf?
No.
What you COULD do, if you wanted, is to place a clipping path around your newly placed element. That will leave all the data in place, but at least it won't get drawn.
Leonard --------------------------------------------------------------------------- Leonard Rosenthol <mailto:[EMAIL PROTECTED]> Chief Technical Officer <http://www.pdfsages.com> PDF Sages, Inc. 215-938-7080 (voice) 215-938-0880 (fax)
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions