Hi,
My requirement is to read a table from the MS Word Document.
But the problem is with the column alignment.
Sharing my code and Input document and output document as an attachment to this post.
My Code
string dataDir = Server.MapPath("Data");
string New = "Input Document";
Document doc = new Document(dataDir + "\\" + New + ".docx");
doc.ToString(SaveFormat.Html);
doc.Save(dataDir + "\\" + "Sample.html");
Document doc1 = new Document(dataDir + "\\ Sample.html");
doc1.Save(dataDir + "\\" + "Output.docx");
Please resolve the issue.
Thanks