#1 2019-05-10 18:01:09

Sargon
Member
Registered: 2018-02-09
Posts: 10

how to make one sheet in portrait orientation and the other in landsc

Hello. Can you please tell me how to make one sheet in portrait orientation and the other in landscape (all in one document)? (using TGDIPages)

Last edited by Sargon (2019-05-10 18:02:18)

Offline

#2 2019-05-11 06:59:27

EvaF
Member
Registered: 2014-07-19
Posts: 40

Re: how to make one sheet in portrait orientation and the other in landsc

did you try to change orientation just before "Newpage" ?
something like:

    with TGDIPages.Create(self) do
    try
      Orientation := poLandscape;
      BeginDoc;
      ...
      Orientation := poPortrait;
      newPage;
      ...
      Orientation := poLandscape;
      newPage;
      ...
      endDoc;
      ..
     finally
      free;
     end;

Last edited by EvaF (2019-05-11 07:00:22)

Offline

#3 2019-05-11 15:15:19

Sargon
Member
Registered: 2018-02-09
Posts: 10

Re: how to make one sheet in portrait orientation and the other in landsc

Yes, right, thanks so much for the tip. Exactly what I need!

Offline

Board footer

Powered by FluxBB