I used the following code to convert a word document to pdf document.
Document document = new Document(inputPath);
// Set the export images folder.
document.SaveOptions.ExportImagesFolder = tempDirectory;
#region Convert the Word document to PDF.
Pdf pdf = new Pdf();
// Delete any temporary images after the conversion is complete.
pdf.IsImagesInXmlDeleteNeeded = true;
using (MemoryStream ms = new MemoryStream())
// Convert the file to the Aspose.Pdf.Xml format.
// Read in the document XML.
But there are some characters in word are being converted. For example, $D is converted to Today's date. I guess this is one of the predefined function/formula that Aspose recognizes. Is there a way to turn off the conversion?
This message was posted using Aspose.Live 2 Forum