Error processing SSI file
LEADTOOLS Leadtools.Documents.Converters (Leadtools.Documents.Converters assembly)

Show in webframe

JobErrorMode Property






Indicates whether to abort or try to continue running jobs when an error occurs.
Syntax
public DocumentConverterJobErrorMode JobErrorMode {get; set;}
'Declaration
 
Public Property JobErrorMode As DocumentConverterJobErrorMode
'Usage
 
Dim instance As DocumentConverterOptions
Dim value As DocumentConverterJobErrorMode
 
instance.JobErrorMode = value
 
value = instance.JobErrorMode
public DocumentConverterJobErrorMode getJobErrorMode()
public void setJobErrorMode(DocumentConverterJobErrorMode value)
            
public:
property DocumentConverterJobErrorMode JobErrorMode {
   DocumentConverterJobErrorMode get();
   void set (    DocumentConverterJobErrorMode value);
}

Property Value

An DocumentConverterJobErrorMode enumeration member that specifies whether to abort or try to continue running jobs when an error occur. Default value is DocumentConverterJobErrorMode.Continue.
Remarks

When the value of this property is DocumentConverterJobErrorMode.Abort, any error that may occur while running a job will result in an exception being thrown.

If the value of this property is DocumentConverterJobErrorMode.Continue, then none critical errors can be logged and running continues. For example, if a source document has a page that could not be recognized. The offending page will be added to the final document as a graphics images and recognition will continue to the next page. In this mode, the engine will not throw an exception if an error occur, instead, all errors will be logged into the job's DocumentConverterJob.Errors collection. When conversion finishes, you can check if this collection is not empty and get the information of the errors and act upon them according to your application logic.

Refer to DocumentConverterJobOperation for information on which operation is considered critical.

Example

For an example, refer to DocumentConverterOptions.

Requirements

Target Platforms

See Also

Reference

DocumentConverterOptions Class
DocumentConverterOptions Members
Using LEADTOOLS Document Converters

Error processing SSI file
   Leadtools.Documents.Converters requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features