Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sun Apr 07, 2019 10:27 am

Hi,
I have this issue: If I add by nuget (in VisualStudio) the freespire.pdf in a project where is installed freespire.docviewer, I get this error : Non è stato possibile caricare il tipo 'spr⠓' dall'assembly 'Spire.Doc, Version=7.1.7.4040, Culture=neutral, PublicKeyToken=663f351905198cb3' perché prova a implementare una classe come interfaccia.'
The same like if I add freespire.doc.

I want to open a doc file, save it in PDF, open the pdf, add an image at precise point in the document, and resave the PDF.

Thanks

maxsch
 
Posts: 2
Joined: Tue Oct 21, 2014 5:51 pm

Mon Apr 08, 2019 3:20 am

Hello,

Thanks for your inquiry.
Please kindly note that Free Spire.DocViewer, Free Spire.Doc and Free Spire.PDF are independent products. They can't be used together in a same project, their incompatibility caused your error. As for your situation, you could use our Free Spire.Office for .NET Version:4.3.1 package and reference the corresponding dlls (Spire.Doc.dll, Spire.Pdf.dll , Spire.License.dll, Spire.DocViewer.Forms.dll) into your project. Besides, please refer to the following tutorials to achieve your demand.
Save Doc to PDF: How to Convert Word to PDF
Add an image in PDF:Draw PDF Image
If there is any question, just feel free to write back.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Mon Apr 08, 2019 7:18 am

Thanks for your prompt and useful response.
This solved my problems.

Thanks

maxsch
 
Posts: 2
Joined: Tue Oct 21, 2014 5:51 pm

Mon Apr 08, 2019 7:48 am

Hello,

Glad to hear that!
If you encounter any issue related to our products in the future, just feel free to contact us. Wish you all the best!

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.PDF