HTMLExportSettings Object (COM-based API)
This object provides functionality for configuring the export of recognized text to HTML format. The IHTMLExportSettings interface is a child object of the IOutputFormatSettings interface and inherits all its properties. It is an element of the OutputFormatSettingsCollection collection.
Properties
Name | Type | Description |
AllowCss | Boolean | Specifies if a built-in style sheet (CSS) is to be used. CSS requires Internet Explorer 4.0 or later. |
CodePage | CodePageEnum | This property sets the code page to which the recognized text is to be exported. If this property does not specify any code page (CP_Null), the code page is selected automatically. The default value is CP_Null. |
EncodingType | TextEncodingTypeEnum |
Specifies the encoding type of the output file in HTML format. This property is TET_Simple by default which means that each symbol is coded by one byte in the output file. Note. If this property is set to a value different from TET_Simple, the CodePage property is ignored during export. |
HTMLSynthesisMode | HTMLSynthesisModeEnum | Specifies a mode of synthesizing HTML code from the recognized text. There exist three modes of synthesis: retain paragraphs only, retain paragraphs and fonts, retain full page layout. The default value is HSM_PageLayout, which means that the entire layout is retained. |
WritePictures | Boolean |
Specifies whether pictures must be saved along with the file in HTML format. If pictures are not written, references to them in HTML files are also omitted. The default value is TRUE. Note. The format in which pictures are saved in the output file is selected automatically basing on the two picture properties: Color Type (black and white, grayscale or color) and Color Variety (low or high). Black and white pictures are always saved in PNG format. Grayscale and color pictures are saved in PNG format in the case of low color variety, and in JPEG format in the case of high color variety. |
See also
26.03.2024 13:49:49