We have done the mail merge of the label but it changes the Font after mail merge on the created Doc .
We are doing on .net3.5 framework .
Please check the Attachments . One is the template and another is the created doc .
We have also purchased the License but we are worried …
Below is our code :
<span style=“font-size: 10pt; font-family: “Courier New”; color: rgb(43, 145, 175);”>Document<span style=“font-size: 10pt; font-family: “Courier New”;”> doc;<o:p></o:p>
// Open an existing document.
if (File.Exists(filename))
doc = new Document(filename);
else
doc = new Document(defaultfilename);
doc.MailMerge.RemoveEmptyParagraphs = true;
// Fill the fields in the document with user data.
doc.MailMerge.Execute(dt);
// Send the document in Word format to the client browser.
doc.Save(“result.doc”, SaveFormat.Doc, SaveType.OpenInBrowser, Response);
where filename represents the name of the file .
Regards
Atul