Print orientation

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

dhaerle
User
Posts: 12
Joined: Thu May 08, 2008 3:22 pm

Print orientation

Post by dhaerle »

We are using the latest PDF-XChange Viewer SDK and want to implement our own printing dialogue.

However, there seems to be no option to change from portrait to landscape orientation.
We tried to set the property "Print.PaperRotate" to 90 degree, but this did not work too.
Is there a possibility to change the print orientation?
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: Print orientation

Post by Vasyl - PDF-XChange »

Hi, dhaerle.

Please wait for new build(upcoming) and see the updated SDK-help.
In the new build you will be able to:

Code: Select all

SetProperty("Print.PaperRotate", "Portrait", 0);
SetProperty("Print.PaperRotate", "Landscape", 0);
SetProperty("Print.PaperRotate", "Default", 0); // to use the current printer's paper-orientation settings, this is default value
Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.