I download the last version of Aspose.Words for evaluation.
Here is the code to convert DOC file to PDF, I'm using the VS2010 and Net 4.0:
Aspose.Words.Document doc = null;
try
{
doc = new Aspose.Words.Document(infile);
doc.Save(outfile);
}
catch (Exception ex)
{
string er = ex.Message;
throw ex;
}
finally
{
doc = null;
}
infile is Word 2003 and outfile is the file name end with .pdf. The table in Word file was created in seperate sub template and then insert into the main template.
The issue is that the PDF result is not equal to the Word version. I attached the original Word + final Word + final PDF.
Thanks inadvance.