How to set Report.Printersetup.Orientation in RAP
Hi
How can i set the Printersetup.Orientation to Portrait or Landscape with
RAP?
My report has to regions. One for orientatioin portrait and one for
orientation landscape.
It depends on the data weather the report will be printed as portrait or
landscape.
When i use RAP in the ReportBefortPrint - event i get a error message that
there a components
out of range which will be deleted.
Can anyone help me. Thanks in advance.
Best regards
Robert
How can i set the Printersetup.Orientation to Portrait or Landscape with
RAP?
My report has to regions. One for orientatioin portrait and one for
orientation landscape.
It depends on the data weather the report will be printed as portrait or
landscape.
When i use RAP in the ReportBefortPrint - event i get a error message that
there a components
out of range which will be deleted.
Can anyone help me. Thanks in advance.
Best regards
Robert
This discussion has been closed.
Comments
you set the property right, therefore the warning message.
If you switch from portrait to landscape the layout doesn't change. You need for every orientation a separate template designed for that orientation.
regards,
Chris Ueberall;
But how can i use that property printersetup.orientation?
When i use it for polandscape or poportrait nothing happend with the layout.
regards
Robert
since it isn't useful to change the orientation in RAP use two different layouts (templates).
regards,
Chris Ueberall;
Thanks for the answer, but why is there a RAP-command like
printersetup.orientation implemented when i should not use it?
regards
Robert
at least you can read it!
regards,
Chris Ueberall;