setBinarizationMethod method

void setBinarizationMethod(
  1. int binarizationMethod
)

Sets the selection of the binarization method internally used in the algorithm.

param binarizationMethod Selection of the binarization method internally used in the algorithm. throws DocumentException An error has occurred during Document Library execution.

Implementation

void setBinarizationMethod(int binarizationMethod) {
  var err = documentSDK.id3DocumentMrzReader_SetBinarizationMethod(_pHandle.value, binarizationMethod);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
}