Print quality

Hi, is there a way to increase the quality of the printed page? The quality is very low and I need a better quality.

Or another solution would be this: is there a way to export the formatted content of document editor to HTML?

Thanks!

1 Reply

HC Harini Chellappa Syncfusion Team April 24, 2020 08:07 AM UTC

Hi Leander, 

Thank you for contacting Syncfusion Support. 

Regarding Print Quality 
 
Since Document editor converts canvas as image for printing, its quality is not high. To print the document editor content with high quality, you can send the document editor content to server-side and convert it to pdf using DocIO and return the pdf document as base64 string to client-side and open it in preview window.  

For your reference, we have prepared the sample in MVC. Kindly download it from the below link.  


Here is the DocIO documentation on converting word document to PDF. Kindly check it. 
 
 
Reg. is there a way to export the formatted content of document editor to HTML 
 
You can pass sfdt string to server-side and convert it as html. 

Please refer the below documentation on server-side export using SFDT string. 


In the above documentation, sfdt string passed to server side and saved as docx with Save API of word document class.  

Sample Code Snippet for saving it as html 

Stream document = WordDocument.Save(sfdtString, FormatType.Html); 


Kindly check it and let us know whether this helps. 
 
Regards, 

Harini C 


Loader.
Up arrow icon