JarrodCook wrote:
> In some cases a PDF might have a crop box in
> place. If this occurs you will be able to resize the media box like normal
> and the dimensions of the page rectangle will change and it will seem as
> though it resized and you can even put content in the area you just
> expanded,
I know this thread is kind of dead, but i myself have found it very helpful.
So first off let me just say thank you for posting this solution I was
working on a project that allowed users to select reports to include in
their final pacakage and upload pdf attachments and then generated their
repo
I am sorry for taking up so much of your time and thank you for your help.
Your code is very generous and you can be rest assured that I have already
ordered a copy of the iText in Action book from Amazon.
-Ethan
On 7/14/07, Bruno Lowagie <[EMAIL PROTECTED]> wrote:
Ethan King wrote:
> I don't
Ethan King wrote:
I don't mean to beat a dead horse. But this is an important part of a
project that I am coordinating.
On any other mailing list, you would get the response:
"too bad for you if you didn't understand the advice."
The fact that they have
been shrunk is important, had these ex
PDF page size is defined by a rectangle called the MediaBox that is
referenced on each page. That enables each page to be a different
size, if you're so inclined. Changing the page size is trivial - you
just change the value o the MediaBox.
However, your content is still "anchored" at the
Thanks for your response. It seems that option 2 using PdfReader &
PdfStamper is the only way I can go. I need to maintain the contents of a
page and not just an image of the page. You post makes me wonder though
about the way page size is defined by PDF.
It would seem to me that rehoretically
Ethan King wrote:
> This question has kind of been addressed in the past but not as directly
> as some would hope. I am looking to use iTextSharp to do
> something similar to the Bates numbering function in Adobe Acrobat 8.
>
> Basically I would like the shrink the contents of a PDF page to a
This question has kind of been addressed in the past but not as directly as
some would hope. I am looking to use iTextSharp to do something similar to
the Bates numbering function in Adobe Acrobat 8.
Basically I would like the shrink the contents of a PDF page to allow a
margin above and below t