Html |
The RtfToHtmlHtmlSaveOptions type exposes the following members.
Name | Description | |
---|---|---|
ContentType | Gets the content-type for HTML file format. | |
CssExportMode | Specifies how CSS (Cascading Style Sheet) styles are exported to HTML or MHTML. Default value is Inline. | |
CssFileName | Specifies the path and the name of the Cascading Style Sheet (CSS) file written when a document is exported to HTML. Default is an empty string. | |
CssStream | Allows to specify the stream where the CSS information will be saved to. | |
EmbedImages | Gets or sets a value indicating whether images are embedded directly within the HTML file in form of Base64 encoding. Default value: true. | |
Encoding | Gets or sets the encoding for the HTML file. | |
ImageFormat | Gets and sets the format to embed images in the saving document. Default value: Auto. | |
ImageSavingCallback | Allows to control how images are saved when a document is saved to HTML. | |
ImagesDirectoryPath | Gets or sets the physical directory where all images will be saved. | |
ImagesDirectorySrcPath | Gets or sets the relative directory that will be used when referencing images in the HTML. | |
JpegQuality | Gets and sets the value indicating Jpeg quality level. Affects only to the images which embedded in Jpeg format. Default value: 90. | |
KeepCssStreamOpen | Specifies whether keep the stream open or close it after saving an CSS information. | |
ProduceOnlyHtmlBody | Gets or sets a value to produce a complete HTML document or only between between <body>...</body> tags. Default value: false. | |
SingleFontColor | Sets or gets a single font color for a whole text in the produced HTML document. Default value: null. | |
SingleFontFamily | Sets or gets a single font family for a whole text in the HTML document. Default value: Empty. | |
SingleFontSize | Sets or gets a single font size in points (pt) for a whole text in the produced HTML document. Default value: null. | |
Title | Gets and sets a title for the generated HTML document. If none is provided, it tries to find an embedded 'title' from the original document. None are found, so it writes "Untitled document". Default: null. | |
UseNumericCharacterReference | In case of 'true': Write the all characters in "NCR" notation: &#xxx;. In case of 'false': Write the all characters as Unicode (recommended). Default value: false. | |
Version | Specifies version of HTML standard that should be used when saving the document to HTML or MHTML. Default value is Xhtml. |