HtmlLoadOptions

HtmlLoadOptions class

Represents options for loading/importing html file into pdf document.

The HtmlLoadOptions type exposes the following members:

Constructors

NameDescription
HtmlLoadOptions()Creates load options for converting html into pdf document with empty base path.
HtmlLoadOptions(base_path)Initializes a new instance of the HtmlLoadOptions class

Properties

NameDescription
warning_handlerCallback to handle any warnings generated.
The WarningHandler returns ReturnAction enum item specifying either Continue or Abort.
Continue is the default action and the Load operation continues, however the user may also return Abort in which case the Load operation should cease.
load_formatRepresents file format which LoadOptions describes.
is_render_to_single_pageGets or sets rendering all document to single page
is_embed_fontsGets or sets fonts embedding to result document
page_layout_optionGets or sets layout option.
html_media_typeGets or sets possible media types used during rendering.
input_encodingGets or sets the attribute specifying the encoding used for this document at the time of the parsing. If this attribute is null the encoding will determine from document character set atribute.
base_pathThe base path/url for the html file.
page_infoGets or sets document page info

See Also