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.

stream to pdf

Thread ID:

Created:

Updated:

Platform:

Replies:

123579 Mar 31,2016 04:22 PM Apr 4,2016 01:27 AM ASP.NET MVC 3
loading
Tags: PDF
Testname
Asked On March 31, 2016 04:22 PM

how to convert any stream(word, excel, html) to pdf ?

Mathu Mohan Vijayakumar [Syncfusion]
Replied On April 1, 2016 10:39 AM

Hi,

Please find the below details for document conversions.

Word to PDF conversion
DocIO provides support to open and save Word documents using memory stream. Please find the following API documentation link for opening and saving Word documents using memory stream.


Opening Word document using Memory stream:
http://help.syncfusion.com/cr/cref_files/file-formats/docio/Syncfusion.DocIO.Base~Syncfusion.DocIO.DLS.WordDocument~Open(Stream,FormatType).html

Saving Word
document using Memory Stream:
http://help.syncfusion.com/cr/cref_files/file-formats/docio/Syncfusion.DocIO.Base~Syncfusion.DocIO.DLS.WordDocument~Save(Stream,FormatType).html

Please find the following UG documentation link for importing the HTML file to a Word document.
http://help.syncfusion.com/file-formats/docio/conversion#html-conversion

Please find the following UG documentation link for converting the Word document to PDF using DocIO.
http://help.syncfusion.com/file-formats/docio/conversion#converting-word-document-to-pdf

Excel to PDF conversion
XlsIO provides support to open and save Excel documents using memory stream. Please find the following API documentation link for opening and saving the Excel documents from memory stream.

Opening Excel document using Memory stream:
http://help.syncfusion.com/file-formats/xlsio/loading-and-saving-workbook#opening-an-existing-workbook-from-stream


Saving Excel document using Memory Stream:
http://help.syncfusion.com/file-formats/xlsio/loading-and-saving-workbook#saving-a-excel-workbook-to-stream


Please find the following UG documentation link for converting the Excel document to PDF using XlsIO.
http://help.syncfusion.com/file-formats/xlsio/conversions#excel-to-pdfconversion
HTML to PDF conversion
We have created a sample for converting HTML to PDF from stream, please find the below sample for more details.
http://www.syncfusion.com/downloads/support/forum/123579/ze/Sample-90582066

Please find the UG documentation link for Converting HTML to PDF
http://help.syncfusion.com/file-formats/pdf/working-with-document-conversions#converting-html-documents-to-pdf


Regards,
Mathu Mohan V A



Testname
Replied On April 1, 2016 12:47 PM

Thank you this helped.

Chinnu Muniyappan [Syncfusion]
Replied On April 4, 2016 01:27 AM

Dear Customer,

We are glad to know that the given solution works. Please let us know if you have any query.

Regards,  
Chinnu


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.

;