TTMSFNCWebBrowser.PrintToPDF Method
Saves the current page as a PDF file using the supplied settings.
API unit family: TMSFNCWebBrowser
Declaring type: TTMSFNCWebBrowser
Overloads
Overload 1
Saves the current page as a PDF file using the supplied settings.
procedure PrintToPDF(AFileName: string; APrintSettings: TTMSFNCWebBrowserPrintSettings); overload; override;
Parameters
| Name | Description |
|---|---|
AFileName |
Destination file path for the PDF. |
APrintSettings |
Layout settings for the PDF output. See TTMSFNCWebBrowserPrintSettings. |
Overload 2
Saves the current page as a PDF file using default settings.
procedure PrintToPDF(AFileName: string); overload; override;
Parameters
| Name | Description |
|---|---|
AFileName |
Destination file path for the PDF. |