CreateHTML

Creates an HTML document based on the text and format captured in the layout XML file

Syntax

bool CreateHTML () 

Parameters

None

Returns

True if the HTML document is created. Otherwise, False.

Level

Page level

Details

Creates an HTML document using the text and format in the layout XML file. This is helpful in cases where a well-formatted HTML representation of the document is useful for processing or viewing the document in another product after capture is complete.

The HTML file name is constructed from the ID of the Page (the current object when the action is invoked), followed by the .html file extension. Images and other graphics in the original document are not included in this HTML file.

CreateHTML requires a previously created layout file (for example: tm000001_layout.xml) where text is grouped into blocks. See DocumentAnalytics actions for information on the layout XML file.

Example

Recognize()

CreateHTML()