Report container fits page format

Hello,
I would like to ask of it is possible to autimatically adapt the Report Container to the selected paper format and orientation (A4 portrait or A3 landscape), in order that the data inside the report container can fullfill the page (less data in A4 -> more data in A3).
I tried to change the paper format and orientation in the Layout properties of the project, but the report container wont fit the page size.

Thanks

You could set the position and size by formula using variables like
LL.Device.PrintableArea.Offset.cx and LL.Device.PrintableArea.Offset.cy

Hope this helps
Pit

1 Like

Hi Pit,
thanks, I used a formula with LL.Device.Page.Size.cx and LL.Device.Page.Size.cy and it works.

1 Like