Hi Meenal,
Thanks for sharing the detail. Please note that Aspose.Words mimics the same behavior as MS Word does. If you save your document (Docx) to Doc file format using MS Word, you will get the same output.
Please note that Microsoft introduced content controls with the release of Word 2007. So, please save your final output document to Docx to get the required output.
Moreover, the content control in your input document are not of type check-box. We have created a sample input document which contains content controls of type check-box. Please check the attached input and output Doc/Docx documents for your kind reference. The following code example generates the output documents.
Document doc = new Document(MyDir + "in.docx");
DocumentBuilder Builder = new DocumentBuilder(doc);
doc.Unprotect();
Builder.Writeln("Hello World!");
Builder.MoveToBookmark("bktabletest");
Builder.Font.Name = "Arial";
Builder.Font.Size = 9;
Builder.StartTable();
Builder.CellFormat.Borders.Bottom.LineStyle = LineStyle.Hairline;
Builder.CellFormat.Borders.Top.LineStyle = LineStyle.Hairline;
Builder.CellFormat.Borders.Left.LineStyle = LineStyle.Hairline;
Builder.CellFormat.Borders.Right.LineStyle = LineStyle.Hairline;
Builder.CellFormat.Borders.Color = Color.LightGray;
Builder.InsertCell();
Builder.CellFormat.Shading.BackgroundPatternColor = Color.White;
Builder.CellFormat.Width = 175;
Builder.CellFormat.VerticalAlignment = CellVerticalAlignment.Center;
Builder.Write("Cell3");
Builder.InsertCell();
Builder.CellFormat.Shading.BackgroundPatternColor = Color.White;
Builder.CellFormat.Width = 30;
Builder.CellFormat.VerticalAlignment = CellVerticalAlignment.Center;
Builder.Write("Cell4");
Builder.EndRow();
Builder.EndTable();
doc.Save(MyDir + "Out.doc");
doc.Save(MyDir + "Out.docx");