How to set the Page Properties

How to set the page properties to ‘Legal’ ‘Landscape’ before exporting to pdf…using aspose…

Hi,

For more information on setting page size please consult http://www.aspose.com/Products/Aspose.Pdf/Api/Set-Page-Size-and-Margins.html . For Landscape you can use the IsLandScape property for more information please consult http://www.aspose.com/Products/Aspose.Pdf/Api/Aspose.Pdf.Section.IsLandscape.html

Thanks.