Sales
1-888-9DOTNET
|
The PageOrientation property of IPDFPage is used to assign the orientation type for a PDF Document. The orientation types supported are, C# //Setting Orientation of PDF page in Landscape mode. pdfDoc.LastPage.Orientation = PageOrientation.Landscape; //Setting Orientation of PDF page in Portrait mode. pdfDoc.LastPage.Orientation = PageOrientation.Portrait; VB 'Setting Orientation of PDF page in Landscape mode. pdfDoc.LastPage.Orientation = PageOrientation.Landscape 'Setting Orientation of PDF page in Portrait mode. pdfDoc.LastPage.Orientation = PageOrientation.Portrait Sample: http://websamples.syncfusion.com/samples/KB/PDF.Windows/PPOrientation/main.htmNote: This will work only with PDF.Legacy.Base |