![]() Save the doc in a xml fille that can be handled by Aspose.Pdf. Specify folder where images will be storedĭoc.SaveOptions.PdfExportFormFieldsAsText = false ĭoc.SaveOptions.PdfExportImagesFolder = System.IO.Path.GetTempPath() I am using the following code to convert the Word document to PDF: Please test it for the “Page Border rendering issue” and share your comments. I have also attached the resulting PDF file as converted by ASPOSE component. I have attached a sample Word document that I am using to test the conversion functionality. I inserted a new image as watermark and now its working fine.Īlso regarding the option of saving the Word document directly to PDF, I know this concept as I have read about it earlier in your documentation but for our requirements we need the Word->XML->PDF approach as it gives us more control over the PDF generation and subsequent data population. I retried the code and found that there was some issue with the watermark image that was present in the source Word document. 1,093 page borders that you can download and print in your choice of file formats.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |