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

Free Support Forum - aspose.com

Max width of the pdf document


Hi,

How much Max width of the pdf document, which are generated with Aspose.pdf,
because I have more columns which have to be displayed.

Please give the solution as early as possible.

Thanks,
Veeru1.

Hello Veeru,

The width of the PDF document can be changed programmatically. By default the width of the PDF document is A4 size. Please visit the following link for more information on Set Page Size and Margins

In case the width of the PDF document is not sufficient to accommodate the columns, then you can also change the page orientation from portrait to landscape. Please try using the following code line to set the page orientation to Landscape.

sec1.IsLandscape = true;

In case I have not properly understood your requirements or you have any other query, please feel free to contact.