Table of Contents

ITMSFNCCustomWebBrowserPrint.PrintToPDF Method

Saves the current page as a PDF file at the specified path using the specified print settings.

API unit family: TMSFNCWebBrowser Declaring type: ITMSFNCCustomWebBrowserPrint

Overloads

Overload 1

Saves the current page as a PDF file at the specified path using the specified print settings.

procedure PrintToPDF(AFileName: string; APrintSettings: TTMSFNCWebBrowserPrintSettings); overload;

Parameters

Name Description
AFileName Destination file path for the exported PDF.
APrintSettings Print settings used for the PDF layout.

Overload 2

Saves the current page as a PDF file at the specified path using default print settings.

procedure PrintToPDF(AFileName: string); overload;

Parameters

Name Description
AFileName Destination file path for the exported PDF.