#1 2012-02-23 14:23:49

josefkoller
Member
Registered: 2012-02-22
Posts: 11

Orientation

Hello,

is it possible to switch between orientation on the current TGDIPages?

with TGDIPages.Create(self) do
  try
    OnStartPageHeader := MyReportHeader;
    // the title of the report
    Caption := 'Zuchtkalender';
    // now we add some content to the report
    BeginDoc;
    // header and footer
    TextAlign := taCenter;
    Font.Style := [fsBold];
    .....

    DrawText('Kurzbemerkungen: ');
    DrawText(dmzucht.ZQzuchtkalBEZEICHNUNG.AsString);
    ...
    newpage(true);
   
    switch orientaion to landscape  <------ 

    DrawBmp(image2.picture.bitmap,0,RightMarginPos);
   
Thanks

Josef

Offline

#2 2012-02-23 15:07:28

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

Re: Orientation

You may have used the "Search" button above.
wink
See http://synopse.info/forum/viewtopic.php?id=228

Short answer is: it's not possible directly with the current implementation.
Orientation is global for the whole report.

SynPDF itself does not have this limitation.

Offline

#3 2012-02-23 20:50:30

josefkoller
Member
Registered: 2012-02-22
Posts: 11

Re: Orientation

Hello,

thanks for answer.

I have rotated my picture. This result is ok for me.

I need it only for a picture at the last site.

Josef

Offline

Board footer

Powered by FluxBB