Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mspublisher automation
Message
From
06/07/2011 06:41:25
 
 
To
06/07/2011 03:18:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01517195
Message ID:
01517394
Views:
45
I found a workaround. Making the length greater than de width sets the orientation to landscape.

With loPub.ActiveDocument.PageSetup
.PageHeight = loPub.MillimetersToPoints(210)
.PageWidth = loPub.MillimetersToPoints(297)
EndWith
Previous
Reply
Map
View

Click here to load this message in the networking platform