Converting word files into PDF

Hello,

I'm basically using the file-manager integrated with document-editor (using vue and ASPNet)
to be able to view and edit word files, but I want to add an extra feature of converting doc files into pdf files right from the document editor.

Thanks a lot for you help,

4 Replies 1 reply marked as answer

SM Suriya Murugan Syncfusion Team February 25, 2021 08:31 AM UTC

Hi Omar, 

Syncfusion Greetings! 

To Export the document as PDF, We can convert the word document in to PDF by using ‘Syncfusion.DocToPDFConverter’ server-side library. 
  
In client side , using saveASBlob method, you can convert the Word document as blob stream and then send stream to server. In server side, using  ‘Syncfusion.DocToPDFConverter’, you can convert the stream to pdf document and save it.  

We have prepared the sample for your requirement and customize it based on your requirement. 



1.      To run front end: use below commands 
a.      npm install 
b.      npm run dev 
2.      Use “Pdf” options in Download to download document as Pdf format. 
 

Please let us know if you have any questions. 
 
Regards, 
Suriya M. 



OM Omar February 25, 2021 03:08 PM UTC

Hi Suriya,

But my app is in ASPNet not .NetCore, would it be possible to use the same package ?


SM Suriya Murugan Syncfusion Team February 26, 2021 12:53 PM UTC

Hi Omar, 

You have to use ASP.NET MVC package for ASP.NET sample. Please get it from below link: 
Doc to pdf conversion:  

Please try this and we will provide sample by March 1,2021. 

Regards, 

Suriya M. 



SM Suriya Murugan Syncfusion Team March 1, 2021 11:26 AM UTC

Hi Omar, 

Thanks for your patience. 

Please find the sample in ASP.NET from below link: 


Note: By referring above sample, you can include the client side and server side code in your project. 

Regards, 
Suriya M. 


Marked as answer
Loader.
Up arrow icon