PDA

View Full Version : setting page orientation to landscape


David Jarvis
October 18, 2007, 15:33:36
I am using v12 server with VB.NET (VS2005) with .NET CLR2.

I can successfully load HTML into a new document and save it to a PDF.

What I'm trying to do now is set the page orientation to landscape.

I've scoured the web-site and documentation but to no avail.

Can some kind soul please offer some advice?

Regards
David

David Jarvis
October 18, 2007, 16:17:27
Update: I found a post by Gunnar that says there is no landscape flag, and to use pagesize. So I was able to set my pagesize to 11x8.5 and the resulting pdf did indeed have that page size. Unfortunately the TEXT within that page was still formatted for 8.5x11.

Can anyone please tell me how to create a simple landscape page pdf?
Seems like it should be easier than this doesn't it?

Gunnar Giffey
October 18, 2007, 17:21:39
I just chatted with David and we have solved this problem by setting the PageSize for the serverTextControl object, not for the SaveSettings.