So we have 2 pdf files. I need to increase the header and footer margins.
I am using the PdfFileEditor class. I am called the resizeContentsPct method.
Here is the problem.
The first document the height is taller than the width. This document is adjusted correctly.
The second document, the width is greater than the height (landscape ish). Instead of the
top and bottom margins being adjusted, the left and right ones are being adjusted and it looks
like every page is shifted down and to the right. If I call the resizeContentsPct method with the
width and height parameters switched, the document gets resized correctly.
I am using the PdfFileEditor class. I am called the resizeContentsPct method.
Here is the problem.
The first document the height is taller than the width. This document is adjusted correctly.
The second document, the width is greater than the height (landscape ish). Instead of the
top and bottom margins being adjusted, the left and right ones are being adjusted and it looks
like every page is shifted down and to the right. If I call the resizeContentsPct method with the
width and height parameters switched, the document gets resized correctly.