Click or drag to resize

HtmlToRtfHtmlConvertOptions Class

All options to control HTML converting and adjust the output document.
Inheritance Hierarchy

Namespace: SautinSoft
Assembly: SautinSoft.HtmlToRtf (in SautinSoft.HtmlToRtf.dll) Version: 2024.5.22
public class HtmlConvertOptions

The HtmlToRtfHtmlConvertOptions type exposes the following members.

Public methodHtmlToRtfHtmlConvertOptions Create HTML converting options.
Public propertyCode exampleBaseURL It's target path of the HTML document base location.
Public propertyEncoding Gets and sets the encoding for an input HTML document. Default value: AutoDetect.
Public propertyCode exampleOutputFormat The output document format: DOCX, RTF, Text ansi or Unicode Text. Default value: Rtf.
Public propertyCode examplePageSetup Gets and sets the page setup properties: Paper type, Orientation, Margins, Headers and footers, page numbering and so forth.
Public propertyPreserveHyperlinks Preserve Hyperlinks or skip them. Default value: true.
Public propertyPreserveImages Preserve images or skip them. Default value: true.
Public propertyCode exampleSpellingLanguage Default language for checking the document spelling and grammar. Default value: English_United_States.
Public propertyTableAutoFit Gets or sets a value indicating whether the table shall automatically resize to fit contents. Default value: false.
Public propertyTableBorderVisibility Gets and sets visibility for borders in all tables in the document. Default value: SameAsOriginalHtml.
Public propertyTableFitWidthByPage Gets or sets a value indicating to automatically decrease a table width if it greater than page width. Default value: true.
Public propertyCode exampleTextSetup Gets and sets properties to change text formatting during the conversion from HTML: font family, size and color.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
See Also