Welcome Guest Search | Active Topics | Sign In | Register

Rending a table in PDF if Landscape Options
Johnathan
Posted: Thursday, February 23, 2012 11:59:47 AM
Rank: Member
Groups: Member

Joined: 1/10/2012
Posts: 15
Hi

I have a problem that I am looking for possible solutions on.

I dynamically render a PDF report from a webpage.

This includes displaying a large chart, some text then finally a large table of the raw data.

The problem is that sometimes the table of data has so many columns that it scales the document and the table become tiny and also the other items get scaled. In this case ideally I would like to render the table on a new page but in landscape format.

So my question, is it possible to mix landscape and portrait in the same doc ?
or
Is it possible to leave the doc in Portrait but somehow render my table at 90degrees so when printed it is effectivley landscaped?

...or if you can think of any other good ideas!

Thanks

Johnathan
eo_support
Posted: Thursday, February 23, 2012 2:20:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,218
Hi,

No. You cannot change page size during a single HTML to PDF conversion. For your situation, the best option would be splitting your HTML into different chunks and then convert each chunk separately. That way you will be able to set the page size for each chunk independently.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.