HTMLExportSettings Object (Web Services API)
This object provides functionality for configuring the export of recognized text to HTML format. The HTMLExportSettings object is a child object of the OutputFormatSettings object and inherits all its properties.
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. |
EncodingType | TextEncodingTypeEnum |
Specifies the encoding type of the output file in HTML format. 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. |
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. 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
3/26/2024 1:49:49 PM