We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Font Changing after Mail merge in word

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 :

Document doc;
// Open an existing document.
if (File.Exists(filename))
    doc = new Document(filename);
    doc = new Document(defaultfilename);
doc.MailMerge.RemoveEmptyParagraphs = true;
// Fill the fields in the document with user data.
// 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 .



Thanks for your request. Most likely, you are using old version of Aspose.Words. This issue has been fixed in the latest version of Aspose.Words (8.0.0). You can download this version from here:
Best regards,

Hello Andrey
Thanks for the support . The font issue is resolved