could you please help me with setting up the page margins with in a document, when creating a new document with mailmerge. I found the pagesetup object where i can setup the margins but couldn’t find a place to apply those settings to the document itself.
pagesetup member is not available for doc.Sections[0] object. Is it because i am using trial version or am i missing some thing.
Here is the code i am using
Word word = new Word();
Aspose.Word.Document doc = word.Open(@"c:…\templates\Template.doc");
doc.MailMerge.Execute(
new string[] {"field1","field2"},new string[] {fieldVal1, fieldVal2});
doc.Sections[0]. // ********pagesetup member is not avaiable
doc.Save("orderDoc.doc",SaveFormat.FormatDocument);