setThreadCount method

void setThreadCount(
  1. int threadCount
)

Sets the number of threads to use for reading. Hint: Default value is 1. Allocating more than 1 thread here can increase the speed of the process.

param threadCount Number of threads to use for reading. throws DocumentException An error has occurred during Document Library execution.

Implementation

void setThreadCount(int threadCount) {
  var err = documentSDK.id3DocumentMrzReader_SetThreadCount(_pHandle.value, threadCount);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
}