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

OutputFormatSettings

26.03.2024 13:49:49

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.