Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Nov 16, 2022 12:34 pm

Hello, I have downloaded free Nuget Package "FreeSpire.Doc" Version 10.8.0
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 :?:

Mihadov1
 
Posts: 2
Joined: Wed Nov 16, 2022 12:19 pm

Thu Nov 17, 2022 6:55 am

Hello,

Thanks for your inquiry.
I suggest you first try our latest commercial version Spire.Doc Pack(hot fix) (10.11.0) as it is more stable and powerful than the free version.
If the problem still exists after testing the commercial version, please provide your sample file, test environment (For example, Windows10 64bit) and your application type (For example, Console app .NETFramework 4.7.2) for our further investigation. You could attach it here or send it to us via email (support@e-iceblue.com). Thanks in advance for your assistance.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 63
Joined: Mon Nov 07, 2022 8:10 am

Mon Dec 05, 2022 8:07 am

Hi,

Hope you are doing well!
Did my answer solve your problem? Could you give us some feedback at your convenience? Thanks in advance.

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 63
Joined: Mon Nov 07, 2022 8:10 am

Mon Dec 05, 2022 9:04 am

Doris.Liu wrote:Hi,

Hope you are doing well!
Did my answer solve your problem? Could you give us some feedback at your convenience? Thanks in advance.

Sincerely,
Doris
E-iceblue support team

Yes, thanks, just started using the regular package and not the free version. All working as expected,

Mihadov1
 
Posts: 2
Joined: Wed Nov 16, 2022 12:19 pm

Mon Dec 05, 2022 9:15 am

Hello,

Glad to hear that, if there is anything else we can do for you in the future, just feel free to contact us!

Sincerely,
Doris
E-iceblue support team
User avatar

Doris.Liu
 
Posts: 63
Joined: Mon Nov 07, 2022 8:10 am

Return to Spire.Doc

cron