Hi,
I am trying to save a word doc as a pdf and need it printed in the A4 format. I use the following code
Aspose.Words.Document doc = new Aspose.Words.Document(path + "Interested.docx");
foreach (Aspose.Words.Section section in doc)
section.PageSetup.PaperSize = PaperSize.Letter;
doc.Save(path + "aa.pdf", Aspose.Words.SaveFormat.Pdf);
But when i check the pdf it always displays it in the Letter format. How do i fix it?
Regards,
Pooja