Table of Contents

TTMSFNCEdgeWebBrowser.PrintToPDF Method

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

API unit family: TMSFNCEdgeWebBrowser Declaring type: TTMSFNCEdgeWebBrowser

Overloads

Overload 1

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

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

Parameters

Name Description
AFileName Destination file path.
APrintSettings Settings controlling the PDF output.

Overload 2

Saves the current page as a PDF file using the default settings.

procedure PrintToPDF(AFileName: string); overload; override;

Parameters

Name Description
AFileName Destination file path.