I am new to the project and would like to be able to stamp all the pages of a PDF with some text.
I was following some of the C++ examples that use ModifyPDF.
I expected the MediaBox to be the extents of the PDF page, but it seems to be very small.
The size of the sample file I have reports a MediaBox to be 2016 x 2880.
But the actual page seems to be much bigger.
I think maybe I am not correctly acquiring the page.
Could you please suggest what I might be doing wrong?
I am new to the project and would like to be able to stamp all the pages of a PDF with some text. I was following some of the C++ examples that use ModifyPDF. I expected the MediaBox to be the extents of the PDF page, but it seems to be very small. The size of the sample file I have reports a MediaBox to be 2016 x 2880. But the actual page seems to be much bigger. I think maybe I am not correctly acquiring the page. Could you please suggest what I might be doing wrong?
testfile.pdf ` pdfWriter.ModifyPDF("./testfile.pdf", ePDFVersion15, "", LogConfiguration(true, true, "SimpleTextUsage.log", PDFCreationSettings(true, inEmbedFonts));