Fit wide Grid to fit landscape page - 'fit to page'

Can you point me in the direction of a code sample for Aspose.PDF where I can export a wide grid to fit inside a landscape page in asp.net c#? Currently the grid is getting cut off.

Thanks.

Tim


This message was posted using Aspose.Live 2 Forum

Hello Tim,

Thanks for considering Aspose.

Do you need to set the page orientation of the resultant PDF as landscape ? if so is the case, please try using the following code line to set the page orientation as LandScape

[C#]

Pdf.IsLandscape = true;

If it does not satisfy your requirement, please feel free to share.