different page sizes in one report
I've created a single master band report with one picture.
One page of the print have one image.
Pictures can be of different sizes.
How do you get the size of each page match the size of the image?
Example: The first page is 10 x 10 cm, the second page is 10 x 20 cm, the third is 20 x 20 cm.
This print is finally exported to pdf.
Changing the page size in OnBeforePrint has no effect.
Changing the page size in OnBeginDoc changes the size of all pages
One page of the print have one image.
Pictures can be of different sizes.
How do you get the size of each page match the size of the image?
Example: The first page is 10 x 10 cm, the second page is 10 x 20 cm, the third is 20 x 20 cm.
This print is finally exported to pdf.
Changing the page size in OnBeforePrint has no effect.
Changing the page size in OnBeginDoc changes the size of all pages
Comments
1. Image on MasterData
Unknown number of pictures.
Each image of other dimensions.
Each page has paper dimensions according to image dimensions. Max size = A4