Hi Firuz,
I have created a sample which full fill your requirement
C#
protected void Page_Load(object sender, EventArgs e)
{
object missing = System.Type.Missing;
Application word = new Application();
Application newword = new Application();
Document newdoc = new Document();
object savePath = Server.MapPath("~/Files/Test.docx");
newdoc = word.Documents.Open(ref savePath, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);
Document doc = new Document();
object filePath = Server.MapPath("~/Files/Result.docx");
doc = word.Documents.Open(ref filePath, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing,
ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);
doc.Content.Text = "";
Paragraph para = doc.Content.Paragraphs.Add();
for (int i = 0; i < newdoc.Paragraphs.Count; i++)
{
para.Range.InsertBefore((i + 1) + ". " + newdoc.Paragraphs[i + 1].Range.Text.Trim() + "\r");
}
doc.Save();
((_Application)word).Quit();
((_Application)newword).Quit();
}
ScreenShot