Hi
We have purchased Aspose.Words in order to use it as a conversion engine from Winword docs to pdf in our system. We used Winword automation for this before.
There is a double line in doc and it becomes single fat line in pdf. The files are attached. So what do I do wrong?
The code (C#):
if (DialogResult.OK == _openFileDialog.ShowDialog())
{
Aspose.Words.Document doc = new Document(_openFileDialog.FileName); string pdfFileName = System.IO.Path.ChangeExtension(_openFileDialog.FileName, "pdf");
if (File.Exists(pdfFileName))
File.Delete(pdfFileName);
doc.SaveToPdf(pdfFileName);
Process.Start(pdfFileName);
}