Class HtmlToPdfOptions

HtmlToPdfOptions class

Represents HTML to PDF converter options for PdfHtml plugin.

public sealed class HtmlToPdfOptions : PdfConverterOptions

Constructors

NameDescription
HtmlToPdfOptions()The default constructor.

Properties

NameDescription
BasePath { get; set; }The base path/url for the html file.
HtmlMediaType { get; set; }Gets or sets possible media types used during rendering.
Inputs { get; }Returns PdfConverterOptions plugin data collection.
IsRenderToSinglePage { get; set; }Gets or sets rendering all document to single page.
override OperationName { get; }Gets name of the operation.
Outputs { get; }Gets collection of added targets for saving operation results.
PageInfo { get; set; }Gets or sets document page info.
PageLayoutOption { get; set; }Gets or sets layout option.

Methods

NameDescription
AddInput(IDataSource)Adds new data source to the PdfConverter plugin data collection.
AddOutput(IDataSource)Adds new data source to the PdfToXLSXConverterOptions plugin data collection.

See Also