setProcessingUnit method
- ProcessingUnit processingUnit
Sets the processing unit where to run the detection process. Hint: Default value is CPU.
param processingUnit Processing unit where to run the detection process. throws DocumentException An error has occurred during Document Library execution.
Implementation
void setProcessingUnit(ProcessingUnit processingUnit) {
var err = documentSDK.id3DocumentMrzReader_SetProcessingUnit(_pHandle.value, processingUnit.value);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
}