setBounds method

void setBounds(
  1. PointList bounds
)

Sets the boundaries of the document detected, in the following order: top-left, top-right, bottom-right, bottom-left.

param bounds Boundaries of the document detected, in the following order: top-left, top-right, bottom-right, bottom-left. throws DocumentException An error has occurred during Document Library execution.

Implementation

void setBounds(PointList bounds) {
  var err = documentSDK.id3DetectedDocument_SetBounds(_pHandle.value, bounds.handle);
  if (err != DocumentError.success.value) {
    throw DocumentException(err);
  }
}