Orientation

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Orientation

Postby KHentschel » Fri Oct 05, 2012 3:04 pm

Hello,

i have created a Template with DycoDoc in DIN A5 Format. In my Program i load the Data, fill the fields, Dump the DOC and Print it out. So far everything is fine.
A Customer ask now for the possibility to choose the Output Orientation. Is it possible to change the Output from Portrait to Landscape? I try to change this with .PageOrientation and .DevOrientation and have NO success. Has anybody an idea what can i do?

Many thanks for help

Klaus
KHentschel
 
Posts: 46
Joined: Thu Oct 04, 2007 10:28 am

Re: Orientation

Postby IDEAL Software Support » Mon Oct 08, 2012 10:13 pm

After loading the template, set the property Template.Master = false. Afterwards you can use the property VPE.PageOrientation to specify the orientation programmatically. Do not use DevOrientation.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Re: Orientation

Postby KHentschel » Wed Oct 17, 2012 7:33 am

this is working... many thanks for your help
KHentschel
 
Posts: 46
Joined: Thu Oct 04, 2007 10:28 am


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 9 guests

cron