Sets the recognition result options.
Handle to the OCR document.
Pointer to a RESULTOPTIONS2 structure that contains the options to set.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Sets options that will be used in saving recognition results to a file.
To get settings for specific format, call the L_Doc2GetOutputFormatSettings / L_Doc2GetOutputFormatSettingsExt function, and to update format settings, call the L_Doc2SetOutputFormatSettings / L_Doc2SetOutputFormatSettingsExt function.
This function should be called before calling any of the following functions in order to specify the document format type you wish to get/set its options: L_Doc2GetDocumentWriterOptions / L_Doc2GetDocumentWriterOptionsExt L_Doc2SetDocumentWriterOptions / L_Doc2SetDocumentWriterOptionsExt
Required DLLs and Libraries
For an example, refer to L_Doc2SaveResultsToFile.