Error processing SSI file
LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Show in webframe

MaximumPagesBeforeLtd Property








Gets or sets a value that indicate the maximum number of pages to process before using LTD as a temporary format.
Syntax
int MaximumPagesBeforeLtd {get; set;}
'Declaration
 
Property MaximumPagesBeforeLtd As Integer
'Usage
 
Dim instance As IOcrAutoRecognizeManager
Dim value As Integer
 
instance.MaximumPagesBeforeLtd = value
 
value = instance.MaximumPagesBeforeLtd
int MaximumPagesBeforeLtd {get; set;}
@property (nonatomic, assign) NSInteger maximumPagesBeforeLtd
<br/>get_MaximumPagesBeforeLtd();<br/>set_MaximumPagesBeforeLtd(value);<br/>Object.defineProperty('MaximumPagesBeforeLtd'); 
property int MaximumPagesBeforeLtd {
   int get();
   void set (    int value);
}

Property Value

An integer value that indicate the maximum number of pages to process before using LTD as a temporary format. Default value is 8.
Remarks

The LEADTOOLS Advantage OCR engine handles this operation internally by using a file-based document and does not load more than one page in memory at a time and will not use the value of MaximumPagesBeforeLtd.

The IOcrAutoRecognizeManager interface also has the following options to use with the Run, RunJob and RunJobAsync methods:

Option Description
IOcrAutoRecognizeManager.MaximumPagesBeforeLtd

Used to add support for converting a document with unlimited number of pages. An OCR recognition operation on a document that contains a large amount of pages (10 and more) might result in an out of memory error. All of the LEADTOOLS OCR engines supports saving the intermediate recognition results to a temporary LTD file (DocumentFormat.LTD). The result of subsequent pages will be appended to this temporary file. When all the pages of the document have been recognized, the engine will convert the temporary LTD file to the desired output format. The IOcrAutoRecognizeManager.MaximumPagesBeforeLtd property defines the maximum number of pages processed as a whole. For example, if the original document has 20 pages and the value of this property is 8, the engine will recognize the first 8 pages and saves the result to a temporary file, recognizes the second 8 pages and append the results, and finally, recognize the last 4 pages and convert the temporary document to the final format.

IOcrAutoRecognizeManager.PreprocessPageCommands

Holds an array of OcrAutoPreprocessPageCommand items to control what auto-preprocess operation to perform on each page document prior to recognition.

Note: This property is not used and will be ignored when using engine native format (DocumentFormat.User and IOcrDocumentManager.EngineFormat).

Example
For an example, refer to IOcrAutoRecognizeManager.
Requirements

Target Platforms

See Also

Reference

IOcrAutoRecognizeManager Interface
IOcrAutoRecognizeManager Members
Programming with the LEADTOOLS .NET OCR

Error processing SSI file
Leadtools.Forms.Ocr requires a Recognition or Document Imaging Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features