WPCubed Product Support

Orientation page

Hi people !!!

Thanks for the help, but I have other doubt

Looking the program \WPTools5\Demos\Tasks\PrinterSetup , I see that I can define more than one layout in the document, but I'd like the document had many orientation and in the example has only 2 orientation.

I have made tests, but in the example it do a refresh in the document and reformat the document all , so I can't do more than 2 layouts in the document

Example

Page 1 = orientation poPortrait;
Page 2 = orientation poPortrait;
Page 3 = orientation poLandscape;
Page 4 = orientation poLandscape;
Page 5 = orientation poLandscape;
Page 6 = orientation poPortrait;
Page 7 = orientation poPortrait;
Page 8 = orientation poLandscape;

I'd like to define different size page for each one of them

Thanks

#1 ♥ 0
5.8k Views 2 links 2 users read 2 min
support

You can use OnMeaasurePage to have individual page sizes.

Julian

#3 ♥ 0

Hi Julian,

I use the event onMeasurePage, and looking to your example \WPTools5\Demos\Tasks\PrinterSetup and setting the "First Page Landscape" as unchecked and the "All pages Landscape" as checked, the example will leave the first page as Portrait and the others as landscape, but if you keep typing in page 2 you will see that the line broke is equal the landscape page, there's an image with an example.

[](http://aycu04.webshots.com/image/39043/2000374225125256541_rs.jpg)
What could I do to invert everything, margin, size?

Another doubt would be, how to catch which is the orientation of one determined page?

Thanks

#4 ♥ 0
support

Hi,

don't see a problem here with the current version

Julian

#5 ♥ 0

Hi Julian,

To reproduce the error, open the program and change the option "First page landscape" to unchecked and "All Pages Landscape" to checked. Then go directly to page 2, without pressing enter on page 1

Thanks

#6 ♥ 0
This category is archived. No new posts are possible.