Hi,
Please suggest me how to edit and save word document content using .net.
And also save word document data to pdf.
Thanks,
Ajay
Hi,
Please suggest me how to edit and save word document content using .net.
And also save word document data to pdf.
Thanks,
Ajay
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Leon DPosted May 11, 2023, 3:35 AM
Hi Ajay,
You can use Spire.Doc to edit Word document as well as convert it to PDF.
https://www.e-iceblue.com/Introduce/word-for-net-introduce.html
Code example for creating a Word document:
https://www.e-iceblue.com/Tutorials/Spire.Doc/Spire.Doc-Program-Guide/Create-Write-and-Save-Word-in-C-and-VB.NET.html
Code example for converting a Word document to PDF:
https://www.e-iceblue.com/Tutorials/Spire.Doc/Spire.Doc-Program-Guide/How-to-Convert-Word-to-PDF.html
Vishal YelvePosted May 10, 2023, 11:08 AM
Hi Ajay,
Use DocumentFormat.OpenXml
To edit word document
To Save word file to pdf use Microsoft.Office.Interop.Word
Jay PankhaniyaPosted May 8, 2023, 1:36 PM
Over here i have shared example from the code which i have in my windows form application.