TTMSFNCGraphicsPrintIO Class
Print IO component for printing general graphics content via the system printer.
API unit family: TMSFNCPrintIO
Inherits from: TTMSFNCCustomPrintIO
Syntax
TTMSFNCGraphicsPrintIO = class(TTMSFNCCustomPrintIO)
Properties
Name
Description
BitmapContainer
Bitmap container used to resolve named bitmaps referenced during printing. (inherited from TTMSFNCCustomPrintIO)
ExportObject
The primary object to print when calling Print without an explicit array of objects. (inherited from TTMSFNCCustomPrintIO)
Options
Page layout, header/footer, font, and printer settings for the print job. (inherited from TTMSFNCCustomPrintIO)
Version
Version string of the print IO component. (inherited from TTMSFNCCustomPrintIO)
Methods
Name
Description
Print
Prints the default export object using the current options. (inherited from TTMSFNCCustomPrintIO)
Events
Name
Description
OnAfterDraw
Fires after all pages have been drawn to the printer device context. (inherited from TTMSFNCCustomPrintIO)
OnAfterDrawContent
Fires after the content area of each page has been drawn; use for post-draw decoration. (inherited from TTMSFNCCustomPrintIO)
OnAfterDrawFooter
Fires after the footer text has been drawn on each page. (inherited from TTMSFNCCustomPrintIO)
OnAfterDrawHeader
Fires after the header text has been drawn on each page. (inherited from TTMSFNCCustomPrintIO)
OnAfterDrawPageNumber
Fires after the page number has been drawn on each page. (inherited from TTMSFNCCustomPrintIO)
OnBeforeDrawContent
Fires before the content area of each page is drawn; set ADefaultDraw to False to take over drawing. (inherited from TTMSFNCCustomPrintIO)
OnBeforeDrawFooter
Fires before the footer is drawn; modify AFooter to override the footer text or set ADefaultDraw to False to suppress it. (inherited from TTMSFNCCustomPrintIO)
OnBeforeDrawHeader
Fires before the header is drawn; modify AHeader to override the header text or set ADefaultDraw to False to suppress it. (inherited from TTMSFNCCustomPrintIO)
OnBeforeDrawPageNumber
Fires before the page number is drawn; modify APageNumber to override the text or set ADefaultDraw to False to suppress it. (inherited from TTMSFNCCustomPrintIO)
OnCanCreateNewPage
Fires to determine whether a new page may be created; set ACanCreate to False to prevent a new page. (inherited from TTMSFNCCustomPrintIO)
OnGetExportRect
Fires to supply a custom content rectangle for the export object on the current page. (inherited from TTMSFNCCustomPrintIO)
Used by