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

stream to pdf

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

3 Replies

MM Mathu Mohan Vijayakumar Syncfusion Team April 1, 2016 02:39 PM UTC

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




TE Testname April 1, 2016 04:47 PM UTC

Thank you this helped.


CM Chinnu Muniyappan Syncfusion Team April 4, 2016 05:27 AM UTC

Dear Customer,

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

Regards,  
Chinnu


Loader.
Up arrow icon