Hello, we are currently using Aspose to combine files of different types, .pdf and .docx as a couple examples, and then outputting the resulting file as a .pdf or .docx. During this process we are adding headers to the document such as page number or date. We noticed that adding the headers and footers to a docx file then outputting it to a docx looks fine , as in the header and footer margins maintain after the document is saved to local computer. However when doing the same to a Pdf the header and footer margins , more specifically the left and right margins are either removed or shrunk way down. Which in a file of combined different types causes an inconsistency in header formats. Simple console app example. Here is an example app that does the basics of what our application does. You’ll find the resulting docx in the bin/debug folder of the application. This example is not adding headers and footers but if you click into them you’ll notice that left justifying or right justifying the cursor is all the way to the left or right respectively ignoring the page margins that the text is within.
If this is a save setting that we are missing please let me know, I looked through the documentation and didn’t find anything specific to maintaining format of the saved document.