Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

Remarks

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.

See Also

CRichEditView Overview | Class Members | Hierarchy Chart | CRichEditView::SetPaperSize | CRichEditView::WrapChanged

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.