resize that white canvas

Posted by: ugh on 4 August 2017, 2:35 pm EST

  • Posted 4 August 2017, 2:35 pm EST

    When I change the paper size, orientation, or the page margin I click on the end of the white canvas and resized it to fit otherwise I will get red line and it will split on printer. This is fine for fixed report but I have one report that is dynamics and user can change one or more of the page settings. How can I resize that white canvas by code to reflect the new page settings?

     

    I need to be able to so this so I can center the textbox in the header and move some controls around to reflect the new page size.

     

    Thank you.

  • Replied 4 August 2017, 2:35 pm EST

    A report's PrintWidth property holds the value of the printable area (whitspace). This is typically in twips, there are 1440 twips per inch.
  • Replied 4 August 2017, 2:35 pm EST

    That worked, thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels