Class HtmlToPdfOptions

Class HtmlToPdfOptions

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Represents HTML to PDF converter options for Aspose.Pdf.Plugins.PdfHtml plugin.

public sealed class HtmlToPdfOptions : PdfConverterOptions, IPluginOptions

Inheritance

objectPdfConverterOptionsHtmlToPdfOptions

Implements

IPluginOptions

Inherited Members

PdfConverterOptions.AddInput(IDataSource), PdfConverterOptions.AddOutput(IDataSource), PdfConverterOptions.Inputs, PdfConverterOptions.Outputs, PdfConverterOptions.OperationName, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

HtmlToPdfOptions()

public HtmlToPdfOptions()

Properties

BasePath

The base path/url for the html file.

public string BasePath { get; set; }

Property Value

string

HtmlMediaType

Gets or sets possible media types used during rendering.

public HtmlMediaType HtmlMediaType { get; set; }

Property Value

HtmlMediaType

IsRenderToSinglePage

Gets or sets rendering all document to single page.

public bool IsRenderToSinglePage { get; set; }

Property Value

bool

OperationName

Gets name of the operation.

public override string OperationName { get; }

Property Value

string

PageInfo

Gets or sets document page info.

public PageInfo PageInfo { get; set; }

Property Value

PageInfo

PageLayoutOption

Gets or sets layout option.

public HtmlPageLayoutOption PageLayoutOption { get; set; }

Property Value

HtmlPageLayoutOption

 English