Trying to convert Word to Pdf with this siple code:
- Code: Select all
//Load Document
Document document = new Document();
document.LoadFromFile(WordFilePath);
//Convert Word to PDF
document.SaveToFile(PdfFileName, FileFormat.PDF);
But getting this Error on LoadFromFile or LoadFromFileInReadMode function:
Item has already been added. Key in dictionary: 'BalloonText' Key being added: 'BalloonText'
Please help
