Hi,
I am exporting data from textbox to word document bookmarks.
Data is exported properly. Only image is not get scaling properly as per word document.
My Code:
SetLicencse();
string Dir = Server.MapPath("~") + "Documents\\";
string fileName = Dir + "RC Note Word Template.doc";
// Load the template document.
Document doc = new Document(fileName);
DocumentBuilder builder = new DocumentBuilder(doc);
builder.MoveToBookmark("CurrentMinutes", false, true);
builder.InsertHtml(txtCurrentMinutes.Text);
string filePath = Server.MapPath("~") + "\\Documents\\Export\\ExportFileName.docx";
doc.Save(filePath);
Please check the exported word file .
JSW Steel Limited_RCN.zip (385.3 KB)