Fitting Qimage to pdf page when printing QTextBrowser



  • Hi,
    I have a QTextBrowser widget which includes html str parts and QImages. When I print the QTextBroser to a PdfFormat printer, the images that are too large cannot be seen entirely in the pdf file, because the right part of the images that do not fit to the page are beyond the right edge of the paper. Is there a setting or parameter that tells the printing procedure to fit (decrease) those large images to the width of the page automatically?
    Thank you!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.