I have an issue with a Word document I am exporting to PDF. The word Document has all the information I need but when I export it the PDF is missing a lot of my data.
Is there an email address I can send my Word and PDF example to for you to have a look?
My code section is just this:
- Code: Select all
using (MemoryStream wordStream = new MemoryStream(wordX))
{
using (MemoryStream pdfDocument = new MemoryStream())
{
Spire.Doc.Document doc = new Spire.Doc.Document(wordStream, Spire.Doc.FileFormat.Auto);
doc.SaveToStream(pdfDocument, new Spire.Doc.ToPdfParameterList { });
attachmentsToAdd.Add(new KeyValuePair<string, byte[]>(fileName, pdfDocument.ToArray()));
}
}
Thanks,
Craig