Skip to main content
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.

FMX.TMSFNCEdgeWebBrowser.hppPascalC++
procedure PrintToPDF(AFileName: string; APrintSettings: TTMSFNCWebBrowserPrintSettings); overload; override;
virtual void __fastcall PrintToPDF(System::UnicodeString AFileName, const TTMSFNCWebBrowserPrintSettings &APrintSettings)/* overload */;

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.

FMX.TMSFNCEdgeWebBrowser.hppPascalC++
procedure PrintToPDF(AFileName: string); overload; override;
virtual void __fastcall PrintToPDF(System::UnicodeString AFileName)/* overload */;

Parameters

Name Description
AFileName Destination file path.