Creation parameters:
Returns the size of the printer page in millimeters.
See Also: get_page_pixels, get_ppi_printer, get_ppi_screen, get_printout_dc, is_preview, set_page_info
Returns the size of the printer page in pixels. These may not be the same as the values returned from wxDC::GetSize if the printout is being used for previewing, since in this case, a memory device context is used, using a bitmap size reflecting the current preview zoom. The application must take this discrepancy into account if previewing is to be supported.
See Also: get_page_mm, get_ppi_printer, get_ppi_screen, get_printout_dc, is_preview, set_page_info
Returns the number of pixels per logical inch of the printer device context. Dividing the printer PPI by the screen PPI can give a suitable scaling factor for drawing text onto the printer. Remember to multiply this by a scaling factor to take the preview DC size into account.
See Also: get_page_mm, get_page_pixels, get_ppi_screen, get_printout_dc, is_preview, set_page_info
Returns the number of pixels per logical inch of the screen device context. Dividing the printer PPI by the screen PPI can give a suitable scaling factor for drawing text onto the printer. Remember to multiply this by a scaling factor to take the preview DC size into account.
See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_printout_dc, is_preview, set_page_info
See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_ppi_screen, is_preview, set_page_info
Returns 1 if the printout is currently being used for previewing.
See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_ppi_screen, get_printout_dc, set_page_info
This routine sets the max and min pages for a printout object. If you need to have the DC of the printer in order to determine the number of pages,
See Also: get_page_mm, get_page_pixels, get_ppi_printer, get_ppi_screen, get_printout_dc, is_preview