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. Image for the cookie policy date

ASP.NET Core and Conversion to PDF

If I understand your Conceptual Overview Diagram for DocIO, the conversion of doc to PDF is not supported yet in ASP.NET Core version of DocIO (whilst it appears that XlsIO already supports xls conversion into PDF).

Two questions:
1) can DocIO of ASP.NET Core convert output doc file into PDF
2) if not, when will this be supported?

Thank you

6 Replies

MJ Mohanaselvam Jothi Syncfusion Team September 1, 2017 09:47 AM UTC

Hi Zoran,

Thank you for using Syncfusion product.

1. Can DocIO of ASP.NET Core convert output doc file into PDF
DocIO uses the System.Drawing and GDI functionality for Word to PDF conversion. Since the unavailability of this functionality in ASP.NET Core, currently DocIO does not have support for direct Word to PDF conversion in ASP.NET Core.

2. If not, when will this be supported?
We are currently analyzing the feasibilities to implement this feature in our upcoming release. At this moment, we cannot provide any concrete timeline for this feature.

Alternative approach:
Alternatively, service can be used to convert Word document as PDF and then that service can be referred in the ASP.NET Core application.

We have prepared a sample to meet your requirement and in this sample, we have done the following things.
In ASP.NET Core sample,
 
     1. Loads the existing Word document.
     2. Send input Word document as stream to Web API (service) application.
 
In ASP.NET Web API (service),
     3. In service side, gets stream (input document), converted it into PDF, and return the response with resultant PDF.
     4. In core side, received the PDF stream and return as PDF file.

Please find the samples which illustrates the same from below link, and let us know if this helps you.
ASP.NET Core sample application:
https://www.syncfusion.com/downloads/support/forum/132419/ze/Sample-AspNetCore-1895176730.zip

ASP.NET Web API (service) application:
https://www.syncfusion.com/downloads/support/forum/132419/ze/Sample-ServiceWebAPI808269114.zip


Steps to follow:
1. Run the ASP.NET Web API service application.
2. Run the ASP.NET Core Web application which referring the service link on it.

Please refer our UG documentation links from below to know more about ASP.NET Core configuration with Essential DocIO.
Getting Started
Installation
Configure Syncfusion File Format Components in ASP.NET Core application
Essential DocIO Overview

Please refer our online sample from below link.
Online sample link


 
Please let me know if you have any other questions.

Regards
Mohanaselvam J



AJ Ajay November 17, 2017 05:21 AM UTC

Hi,

Any update when this feature would be available? This needs to be a high priority feature.

Thanks,
Ajay.


SY Sethumanikkam Yogendran Syncfusion Team November 20, 2017 11:48 AM UTC

Hi Ajay,

Thank you for your update.

Regarding Word to PDF conversion support in ASP.NET Core:
We regret to let you know that the support for “Word to PDF conversion in ASP.NET Core” is not yet implemented. As we mentioned in our previous update, currently Essential DocIO uses the System.Drawing functionality in Word to PDF conversion which is unavailable at ASP.NET Core.

On further analysis, we have found the possible ways to overcome the limitation in font measuring. Currently, we are analyzing the feasibility to overcome the font embedding limitations in Word to PDF conversion. Once we find the solution for this limitation, we will include this feature immediately in ASP.NET Core.

At this moment, we cannot provide any concrete timeline for this feature. We will let you know once this feature has been implemented.

Please let us know if you have any other questions.

Regards,
Sethumanikkam.Y



SE Sergey January 26, 2018 04:59 AM UTC

Can you provide an update, this is a requirement for us to use your product.


MJ Mohanaselvam Jothi Syncfusion Team January 29, 2018 10:39 AM UTC

Hi Sergey,

Thank you for your update.

At present, we are working on the “Word to PDF conversion” feature in ASP.NET Core and soon it will be available in our public release. We will let you know once this feature is implemented.

Please let us know if you have any concerns.

Regards,
Mohanaselvam J



DB Dilli Babu Nandha Gopal Syncfusion Team February 22, 2018 03:34 PM UTC

Hi Sergey, 
 
We are glad to announce that Word to PDF conversion in ASP.NET Core platform is supported now. Our Essential Studio 2018 Volume 1 Release  v16.1.0.24  is rolled out and is available for download under the following link. 
 
 
For more information, please refer the below KB: 
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance. 
 
Regards, 
Dilli babu. 


Loader.
Up arrow icon