Header and footer save in a Word file. (For easy maintaining, it’s a a bit complicated.)
I’m stuck on
“How to read a Word file as template when export Excel file to PDF” ?
The header is an image placed on left-top, I try to load *.svg and meet a OOM exception.
Now I use a large size *.png image with small zoom scale, it makes image more sharper.
The footer has a complex layout, with table and floating-color-text.
I tried to solve it with transfer to a image, but the hyperlinked text in it could not be recognized and became clickable.
Share your runnable console application, template files, program output files, expected output file created by MS Office or any other third party tool and images showing error for our reference. We will reproduce the scenario here and provide feedback accordingly. Please try to send the simplified code which can be compiled and executed here without any missing reference.
We have checked the sample application and would like to share with you that Aspose.Words does not provide the functionality to convert header/footer regions to images. For the sake of implementation, we have logged an investigation ticket as WORDSNET-20509 in our issue tracking system. We will investigate the feasibility of required feature and keep you informed with the status of its availability. Please spare us some time.
On the other hand, you may also adopt another workflow in order to achieve what you require. Please try to follow below steps:
Convert Excel to PDF using Aspose.Cells
Convert Template Word to PDF using Aspose.Words API