Skip to main content

MhtDocumentExporterOptions Members

Contains options used to save (export) the document in Mht (Web Archive) format.

Constructors

Name Description
MhtDocumentExporterOptions() Initializes a new instance of the MhtDocumentExporterOptions class with the default settings.

Properties

Name Description
CssPropertiesExportType Gets or sets how the style sheets properties are exported. Inherited from HtmlDocumentExporterOptions.
DefaultCharacterPropertiesExportToCss Specifies whether or not the Document.DefaultCharacterProperties formatting is exported in HTML style sheet. Inherited from HtmlDocumentExporterOptions.
EmbedImages Overrides the corresponding property of the base class, to hide it.
Encoding Gets or sets the character encoding used in an exported document. Inherited from HtmlDocumentExporterOptions.
EndNoteNamePrefix Gets or sets the string used to construct the name of the endnote reference in an exported document. Inherited from HtmlDocumentExporterOptions.
EndNoteNumberStringFormat Gets or sets the format string that specifies how the endnote number is transformed into a string to construct the name of the endnote reference in exported document. Inherited from HtmlDocumentExporterOptions.
ExportedDocumentProperties Gets or sets the document properties being exported. Inherited from DocumentExporterOptions.
ExportImageSize Gets or sets how the current image size is preserved in the resulting HTML output. Inherited from HtmlDocumentExporterOptions.
ExportListItemStyle Gets or sets whether to disable writing font settings into *<li>* tags when exporting a document to the HTML format. Inherited from HtmlDocumentExporterOptions.
ExportRootTag Gets or sets the root tag of the HTML document to start the export. Inherited from HtmlDocumentExporterOptions.
FontUnit Gets or sets the measurement unit to specify font size when exporting to HTML. Inherited from HtmlDocumentExporterOptions.
FootNoteNamePrefix Gets or sets the string used to construct the name of the footnote reference in an exported document. Inherited from HtmlDocumentExporterOptions.
FootNoteNumberStringFormat Gets or sets the format string that specifies how the footnote number is transformed into a string to construct the name of the footnote reference in exported document. Inherited from HtmlDocumentExporterOptions.
HtmlNumberingListExportFormat Gets or sets how the lists are represented in the resulting document. Inherited from HtmlDocumentExporterOptions.
IgnoreHangingIndentOnNumberingList Gets or sets whether to ignore the paragraph’s hanging indent value when exporting the numbering and bulleted lists to HTML. Inherited from HtmlDocumentExporterOptions.
IgnoreParagraphOutlineLevel Gets or sets whether paragraphs with different Paragraph.OutlineLevel values are exported as text enclosed in the <P> tag. Inherited from HtmlDocumentExporterOptions.
KeepExternalImageSize Fixes incorrect export of images in metafile formats. Inherited from HtmlDocumentExporterOptions.
KeepLineSpacing Gets or sets whether the Paragraph.LineSpacing setting is exported in HTML. Inherited from HtmlDocumentExporterOptions.
OverrideImageResolution Gets or sets the graphics resolution used to save images when a document is exported in HTML format. Inherited from HtmlDocumentExporterOptions.
TabMarker Gets or sets a character or a string used to replace a tab symbol when exporting a document in HTML format. Inherited from HtmlDocumentExporterOptions.
TargetUri Gets or sets the URI of the document being exported. Inherited from DocumentExporterOptions.
UnderlineTocHyperlinks Gets or sets whether Table of Contents entries are underlined in a document exported to HTML format. Inherited from HtmlDocumentExporterOptions.
UriExportType Specifies how the links to external content are saved in the exported document. Inherited from HtmlDocumentExporterOptions.
UseFontSubstitution Gets or sets whether missing fonts are substituted. Inherited from HtmlDocumentExporterOptions.
UseHtml5 Gets or sets whether the exported HTML conforms with HTML5 specification. Inherited from HtmlDocumentExporterOptions.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
CopyFrom(IExporterOptions) Copies the appropriate properties of the specified object into the current instance of the HtmlDocumentExporterOptions class. Inherited from HtmlDocumentExporterOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all notification options to their default values. Inherited from RichEditNotificationOptions.
ToString() Returns a string representing the currently enabled options. Inherited from BaseOptions.

Events

Name Description
Changed Occurs when the options are modified. Inherited from RichEditNotificationOptions.
See Also