CRichEditView::OnPrinterChanged
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CRichEditView::OnPrinterChanged 

Override this function to change characteristics for this rich edit view when the printer changes.


virtual void OnPrinterChanged(
   const CDC& dcPrinter 
);

Parameters

dcPrinter

A CDC object for the new printer.

The default implementation sets the paper size to the physical height and width for the output device (printer). If there is no device context associated with dcPrinter, the default implementation sets the paper size to 8.5 by 11 inches.

Show:
© 2016 Microsoft