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.
Unfortunately, activation email could not send to your email. Please try again.

ASP.NET Core and Conversion to PDF

Thread ID:

Created:

Updated:

Platform:

Replies:

132419 Aug 31,2017 09:06 AM Feb 22,2018 10:34 AM ASP.NET Core 6
loading
Tags: DocIO
Zoran Markovic
Asked On August 31, 2017 09:06 AM

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

Mohanaselvam  Jothi [Syncfusion]
Replied On September 1, 2017 05:47 AM

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:
http://www.syncfusion.com/downloads/support/forum/132419/ze/Sample-AspNetCore-1895176730.zip

ASP.NET Web API (service) application:
http://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


Ajay
Replied On November 17, 2017 12:21 AM

Hi,

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

Thanks,
Ajay.

Sethumanikkam Yogendran [Syncfusion]
Replied On November 20, 2017 06:48 AM

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


Sergey
Replied On January 25, 2018 11:59 PM

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

Mohanaselvam  Jothi [Syncfusion]
Replied On January 29, 2018 05:39 AM

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


Dilli Babu Nandha Gopal [Syncfusion]
Replied On February 22, 2018 10:34 AM

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. 


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.

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.

;