I have a word document, (docx) file. I need to display the first page of docx on my web page. (Maybe image)
C#,Word,OpenXML,Image-Conversion
What I have tried:
I tried to extract the first page from docx using OpenXML.
steps: extract the first-page using OpenXML, Convert extracted docx to image format, then adding it to the web page.
Is there any alternative solution/easier solution? How to accomplish it?
SathyaPosted Nov 16, 2017, 9:00 AM
I'm just trying to display the first page of docx as Image. Which is just for preview purpose. leadtools is expensive.
Maen BadwanPosted Nov 16, 2017, 8:23 AM
They have online demo here:
https://demo.leadtools.com/JavaScript/DocumentViewer/index.html
And I think you can load the file from a local path, URL or even cache.
The following help topic provides more information about this control:
https://www.leadtools.com/help/leadtools/v19m/dh/javascript/doxui/documentviewer.html