Table of Contents

TTMSFNCWebBrowserPrintSettings Record

Settings that control page layout when printing or exporting to PDF.

API unit family: TMSFNCWebBrowser

Syntax

TTMSFNCWebBrowserPrintSettings = record

Remarks

Obtain a pre-filled default value from TTMSFNCCustomWebBrowser.InitialPrintSettings, then pass the adjusted record to TTMSFNCCustomWebBrowser.Print or TTMSFNCCustomWebBrowser.PrintToPDF.

Fields and properties

Name Type Description
FooterURI string URI shown in the page footer when PrintHeaderAndFooter is True.
HeaderTitle string Title text shown in the page header when PrintHeaderAndFooter is True.
MarginBottom Integer Bottom margin in device-independent pixels (DIPs).
MarginLeft Integer Left margin in device-independent pixels (DIPs).
MarginRight Integer Right margin in device-independent pixels (DIPs).
MarginTop Integer Top margin in device-independent pixels (DIPs).
Orientation TTMSFNCWebBrowserPrintOrientation Page orientation. See TTMSFNCWebBrowserPrintOrientation.
PageHeight Integer Page height in device-independent pixels (DIPs).
PageWidth Integer Page width in device-independent pixels (DIPs).
PrintBackgrounds Boolean When True, CSS background colours and images are included in the output.
PrintHeaderAndFooter Boolean When True, a page header and footer are rendered.
PrintSelectionOnly Boolean When True, only the currently selected content is printed.
ScaleFactor Double Scale factor applied to the page content; 1.0 means 100 %.