DocumentReader.threadCount Property

Module: DocumentReader

Type: int

Definition

Number of threads to use for OCR.

Hint

Default value is 1. Allocating more than 1 thread here can increase the speed of the process.

thread_count: int

Exceptions

An error has occurred during Document Library execution.
int get threadCount => getThreadCount();
set threadCount(int value) => setThreadCount(value);

Exceptions

An error has occurred during Document Library execution.
public int threadCount
{
    get => GetthreadCount();
    set => SetthreadCount(ref value);
}

Exceptions

An error has occurred during Document Library execution.
public int getThreadCount() throws DocumentException
public void setThreadCount(int threadCount) throws DocumentException

Exceptions

An error has occurred during Document Library execution.
public var threadCount: Int
    get {
        return Int(try! getThreadCount())
    }
}

Exceptions

An error has occurred during Document Library execution.
int id3DocumentReader_GetThreadCount (ID3_DOCUMENT_READER hDocumentReader, int * threadCount)
int id3DocumentReader_SetThreadCount (ID3_DOCUMENT_READER hDocumentReader, int threadCount)

Returns

int
An error code.
See id3DocumentError file for the list of possible error codes.