Table of Contents

TTMSFNCGraphicsPrintIO.OnBeforeDrawContent Event

Fires before the content area of each page is drawn; set ADefaultDraw to False to take over drawing.

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

Syntax

OnBeforeDrawContent: TTMSFNCPrintIOBeforeDrawContentEvent;

Parameters

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