Rank: Newbie Groups: Member
Joined: 1/11/2016 Posts: 1
|
Hi,
I am Using HTML to PDf and loading another Pdf like this
PdfDocument doc1 = new PdfDocument(path1);
And would like to change the orientation of this file and then merge it into current PDF I am generating. How i am Do that
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
You will not be able to do that. A PDF file's layout and contents positions are fixed. Changing the orientation usually requires reformatting the contents --- for example, 15 lines of text in your original file may becomes 10 lines when the orientation is changed from portrait to landscape. This means changing orientation is NOT just changing page orientation. Or in another word, just changing the page's orientation without reformatting the contents is useless.
Thanks
|