Table of Contents

TTMSFNCPrintIOOptions Class

Page layout, header/footer, font, and printer device options for printing.

API unit family: TMSFNCPrintIO Inherits from: TPersistent

Syntax

TTMSFNCPrintIOOptions = class(TPersistent)

Properties

Name Description
DPI Returns the printer DPI for the selected device.
DefaultFont Default font used for content drawing when no specific font is set.
Device Printer device name. Empty string selects the system default printer.
Footer Text drawn in the footer area on every printed page.
FooterFont Font used to render the footer text.
FooterHorizontalAlignment Horizontal alignment of the footer text. Default is gtaCenter.
FooterMargins Margins around the footer area in pixels at the print DPI.
FooterSize Height of the footer strip in pixels at the print DPI.
FooterVerticalAlignment Vertical alignment of the footer text within the footer strip. Default is gtaCenter.
Header Text drawn in the header area on every printed page.
HeaderFont Font used to render the header text.
HeaderHorizontalAlignment Horizontal alignment of the header text. Default is gtaCenter.
HeaderMargins Margins around the header area in pixels at the print DPI.
HeaderSize Height of the header strip in pixels at the print DPI.
HeaderVerticalAlignment Vertical alignment of the header text within the header strip. Default is gtaCenter.
Margins Page content margins in pixels applied around the drawable area.
PageHeight Returns the printable page height in pixels at the current DPI.
PageIndex Returns the current page index within the print job.
PageNumber Controls automatic page numbering placement. Default is pnNone.
PageNumberFont Font used to render the automatic page number text.
PageNumberFormat Format string for the automatic page number.
PageNumberHorizontalAlignment Horizontal alignment of the automatic page number text. Default is gtaTrailing.
PageNumberMargins Margins around the page-number area in pixels at the print DPI.
PageNumberSize Height of the page-number strip in pixels at the print DPI.
PageNumberVerticalAlignment Vertical alignment of the automatic page number text. Default is gtaCenter.
PageOrientation Page orientation sent to the printer. Default is poPortrait.
PageSize Android print size preset; only available on Android.
PageWidth Returns the printable page width in pixels at the current DPI.