Table of Contents

TTMSFNCGraphicsPrintIO.OnCanCreateNewPage Event

Fires to determine whether a new page may be created; set ACanCreate to False to prevent a new page.

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

Syntax

OnCanCreateNewPage: TTMSFNCPrintIOCanCreateNewPageEvent;

Parameters

Name Description
Sender The print IO component that raised the event.
AGraphics Canvas used for the current page.
AExportObject The object being printed whose size may require a new page.
ACanCreate Set to False to prevent the print engine from creating a new page.