Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Page fromat  (Read 19 times)

teletobi

  • Newbie
  • *
  • Posts: 1
    • View Profile
Page fromat
« on: August 08, 2019, 05:13:10 pm »
Hi,

I want to create reports with dynamic width and decide just before rendering and export if I wanted A4 or letter format.

Is this already possible and I just couldn't manage to find it?

Thanks already!

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 729
    • View Profile
Re: Page fromat
« Reply #1 on: August 08, 2019, 05:40:27 pm »
Hi.
For example, you can set the page size to the QPrinter and print report through it.
One thing you should to do in this case set property Page.printBehavior to "Scale". 
Or you can change page size in report init script via a report's variable.