Table of Contents

TTMSFNCPDFLibBeforeDrawPageNumberEvent Event Type

Fires before the automatic page number is drawn; set ADefaultDraw to False to suppress the default rendering.

API unit family: TMSFNCPDFLib

Parameters

Name Description
Sender The PDF library component that raised the event.
APageIndex Zero-based index of the page being drawn.
APageNumber Formatted page number text that would be drawn by default.
ARect Bounding rectangle of the page-number area in points.
AGraphics Graphics context for custom drawing inside the page-number area.
ADefaultDraw Set to False to skip the built-in page-number rendering.