Table of Contents

TTMSFNCGraphicsPrintIO.OnBeforeDrawHeader Event

Fires before the header is drawn; modify AHeader to override the header text or set ADefaultDraw to False to suppress it.

API unit family: TMSFNCPrintIO Declaring type: TTMSFNCGraphicsPrintIO Inherited from: TTMSFNCCustomPrintIO

Syntax

OnBeforeDrawHeader: TTMSFNCPrintIOBeforeDrawHeaderEvent;

Parameters

Name Description
Sender The print IO component that raised the event.
AExportObject The object whose page header is about to be drawn.
APageIndex Zero-based index of the page.
ARect Rectangle of the header area.
AGraphics Canvas for drawing the header.
AHeader Modify this to change the header text.
ADefaultDraw Set to False to suppress built-in header rendering and handle it yourself.