Only the attached dokument can not be converted to PDF, I get an error "invalid parameters" .
//_tempDatei where I did some working
using (MemoryStream ms = new MemoryStream(_tempDatei))
{
WordDocument wordDoc = new WordDocument(ms);
DocToPDFConverter converter = new DocToPDFConverter();
PdfDocument pdfDoc = converter.ConvertToPDF(wordDoc);//after here I get an error "ungültige Parameter",something like "invalid parameters"
pdfDoc.Save(tempWordPdfFile);
pdfDoc.Save(_tempMemoryStream);
_tempDatei = _tempMemoryStream.ToArray();
wordDoc.Close();
converter.Dispose();
pdfDoc.Close();
}
Attachment:
dowsNotWork_18b4fab6.7z