Make page horizontal

Make page horizontal

Forum member · Apr 4, 2011
How can I make the page show as horizontal landscape instead of the default vertical? Thank you!

Re: Make page horizontal

Support · Apr 5, 2011
Hello, Yes, you can set the page orientation as landscape without any problem using our DynamicPDF Generator product. You will have to set the page orientation at the time of creating Page object. You will need to use the PageOrientation enumerator to do this. Below is the sample code for it. Page page = new Page(PageSize.A4,PageOrientation.Landscape); Thanks, ceTe Software Support Team.