Change paper size on print time
I am using ReportBuilder mainly for visualizing images, so whenever I open an image, RB is called and both the paper, the TppImage and the main header (where the TppImage is located) have their sizes changed automatically to match the image's proportions.
But my RB viewer needs to be able to print images too, and this is where the problem starts. I open the Print Dialog, select Microsoft Print to PDF on the Printer Name field and follow the standard procedure, but when I open the newly generated PDF, the image appears cut out.
I figured that upon printing, RB changes the paper's dimensions to a size adequate for printing (A4, in my case), but the other components in the report seem to maintain their size, so this might be why the image is shown cut out in the PDF. Hence, I want to change the whole report's size to A4 only when the user presses the OK button in the Print Dialog and change it back to the image's size when the PDF is finished.
My question is: is there an event that can validate if the user has pressed the OK button in the Print Dialog when it closes?
But my RB viewer needs to be able to print images too, and this is where the problem starts. I open the Print Dialog, select Microsoft Print to PDF on the Printer Name field and follow the standard procedure, but when I open the newly generated PDF, the image appears cut out.
I figured that upon printing, RB changes the paper's dimensions to a size adequate for printing (A4, in my case), but the other components in the report seem to maintain their size, so this might be why the image is shown cut out in the PDF. Hence, I want to change the whole report's size to A4 only when the user presses the OK button in the Print Dialog and change it back to the image's size when the PDF is finished.
My question is: is there an event that can validate if the user has pressed the OK button in the Print Dialog when it closes?
DM-150407-Ent1700-001
Comments
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for the info however our records indicate that you last purchased ReportBuilder in April, 2015.
We have moved to a software subscription model. When a license is purchased, 1 year of product updates, fixes, new releases, and support are included. Subscriptions may then be renewed yearly at a discounted price.
Please consider purchasing a new license in order to receive support for your questions as well as the latest version of ReportBuilder. More information on pricing is below.
https://www.digital-metaphors.com/order/
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com