HtmlToPdf

Converts .htm or .html files to PDF document format.

Member of namespace

Convert

Syntax

bool HtmlToPdf ()

Returns

True if the file conversion succeeds. Otherwise, the action returns False if the current page is not an HTML document or some other conversion failure occurs..

Level

Page level.

Details

Use this action to convert HTML files to a single PDF file. For information about setting the compliance standard for the produced PDF document, see PDF compliance standards.

This action sets the batch to abort in the following circumstances:
  • The number of input files or pages exceeds the allowed maximum.
  • The conversion fails.
Example:
HtmlToPdf