Table of Contents

TTMSFNCGraphicsPrintIO.OnBeforeDrawPageNumber Event

Fires before the page number is drawn; modify APageNumber to override the text or set ADefaultDraw to False to suppress it.

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

Syntax

OnBeforeDrawPageNumber: TTMSFNCPrintBeforeDrawPageNumberEvent;

Parameters

Name Description
Sender The print IO component that raised the event.
APageIndex Zero-based index of the page.
ARect Rectangle of the page number area.
AGraphics Canvas for drawing the page number.
APageNumber Modify this to change the page number text.
ADefaultDraw Set to False to suppress built-in page number rendering.