|
Rank: Newbie Groups: Member
Joined: 4/23/2013 Posts: 2
|
Hello, i have a question about how to generate a PDF from an aspx (sharepoint) page, directly in landscape mode.
In a aspx page I have used the following control:
<eo:ASPXToPDF runat="server" ID="ASPXToPDF1" Visible="False"></eo:ASPXToPDF>
The code used to print the pdf is the following:
protected void PDF_Click(object sender, EventArgs e) {
ASPXToPDF1.RenderAsPDF("test" + ".pdf"); ASPXToPDF1.Dispose(); }
My problem is how can I rotate the generated pdf in landscape? The are a properties or methods?
Thank you Gerardo
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
|
|
Rank: Newbie Groups: Member
Joined: 4/23/2013 Posts: 2
|
Hi, thank you for the answer. I'll try to bettere explain. I have a very large page (i can send you a simple PDF by mail), so i need to generate a PDF in "landscape" mode. By setting the propriety you suggested, can i obtain the same result as a landscape page?
Thank you very much
Gerardo
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
There is no such thing as "landscape" technically. A landscape page is just a different page size.
Thanks
|
|