TPlusMemoPrinter.OnFormatPrint event
PlusMemo Help Send comments on this topic.
TPlusMemoPrinter.OnFormatPrint event

Glossary Item Box

 

Applies to

TPlusMemoPrinter component

 

Declaration

property OnFormatPrint: TNotifyEvent;

 

Description

This event occurs just before preparing the printout (paginating and formatting).  Parameter Sender is an instance of a TPlusMemo used internally for this purpose (this instance is not equal to MemoToPrint).  You can set particular properties of this TPlusMemo in this event, like WordWrap, Font, and many others.  By default, all the properties are those of MemoToPrint.

 

This event also occurs while doing the internal formatting and paginating operations, at a rate given by that buffer memo ProgressInterval property.