We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

The type "PdfloadedDocument" exist in both "Syncfusion.Pdf.Base" and "Syncfusion.Pdf.Portable"

Thread ID:

Created:

Updated:

Platform:

Replies:

149428 Nov 26,2019 05:55 AM UTC Nov 26,2019 12:19 PM UTC ASP.NET Core - EJ 2 1
loading
Tags: Presentation
Nguyen Gia Huy
Asked On November 26, 2019 05:55 AM UTC

Hi ,

I want to convert a pptx file to pdf and view it like pdf file, so when i install nuget Syncfusion.PresentationToPdfConverter , i have this error "The type "PdfloadedDocument" exist in both "Syncfusion.Pdf.Base" and "Syncfusion.Pdf.Portable"", how can i resolve this error

Vijayasurya Anandhan [Syncfusion]
Replied On November 26, 2019 12:19 PM UTC

Hi Nguyen,

Thank you for contacting Syncfusion support.

From the provided details, we suspect that you have used both "Syncfusion.Pdf.Base.dll" and "Syncfusion.Pdf.Portable.dll" in your application and so the conflict occurs. Based on the platform our package will be varied. Since you have mentioned that you have been trying to convert the presentation to PDF, please find the assemblies required details from our UG documentation page.

Please find other related UG documentation page details from the following table.
 
Query 
UG link 
NuGet packages required based on platform 
Code example to convert the presentation document to PDF 
We have prepared a sample to meet your requirement, please download the ASP.Net Core sample from the following link.
https://www.syncfusion.com/downloads/support/forum/149428/ze/Presentation_to_PDF1531059623.zip

In this sample, we have done the following things:
1. Load the existing presentation document.
2. Converted the Presentation to PDF.
3. Saved the generated PDF document.

Please let us know if you have any questions.  

Regards,
Vijayasurya A
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon