#1 2011-02-15 15:18:36

Aposeltof
Member
Registered: 2011-01-05
Posts: 1

Landscape with TGDIPages

Hi,

I was using a TGDIPages to do my report.

And i try to change the orientation of some pages but i can't.

I will keep some page in Portrait orientation and specific page in Landscape.

It's possible ?

Offline

#2 2011-02-15 16:18:27

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,549
Website

Re: Landscape with TGDIPages

It's not possible directly with the current implementation.

The orientation is global for the whole report.

See what the corresponding property states:

....
    /// the paper orientation
    // - nb: it's not possible to change the orientation once a report has started,
    // i.e. after a BeginDoc call
    property Orientation: TPrinterOrientation read GetOrientation write SetOrientation;

I could add this feature, but I would need some time to code it, because the whole unit is to be reviewed.

Offline

Board footer

Powered by FluxBB