Hi.
We are converting a docx to PDF.
And its working, but the result is not as good as when the conversion is done from within Word.
I have attached a comparison.
The left image is done with DocToPDFConverter version 17.4460.0.55
The right image is done from word using save as pdf.
As you can see, the table have been compressed in height, and it doesn't look very good when you print the result.
The code i used to do the conversion is this.
var wordDocument = new WordDocument("input.docx", Syncfusion.DocIO.FormatType.Automatic);
wordDocument.ChartToImageConverter = new ChartToImageConverter();
wordDocument.ChartToImageConverter.ScalingMode = ScalingMode.Normal;
var converter = new DocToPDFConverter();
var pdfDocument = converter.ConvertToPDF(wordDocument);
pdfDocument.Save("test.pdf");
pdfDocument.Close();
wordDocument.Close();
So my question is, is there anything i can do to make the conversion output a result that is more like the one that word outputs? The rightside image in the attacked image.
As a last resort we can modify the word template if that is necessary, but we'r not talking about just one template so that is something that we would rather not do.
Changing the way syncfusion converts the document would be a prefered solution.
Attachment:
PDF_Conversion_Difference_10c79413.zip