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. Microsoft word 2013 borders free Click here to Download A selection of free printable or digital page borders. Microsoft Word Free One person Sharing and real-time collaboration Word for the web Basic spelling and grammar Basic templates, fonts, icons, and stickers Dictation and voice commands 5 GB of cloud storage Apps and services included Word Sign up for free Already have a Microsoft account Sign in Microsoft 365 Personal AU10. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |