# getBounds method

PointList getBounds()

Gets the boundaries of the MRZ detected, in following order: top-left, top-right, bottom-right, bottom-left.

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

## Implementation

    PointList getBounds() {
      PointList bounds = PointList();
      var err = documentSDK.id3DocumentMrzReadingResult_GetBounds(_pHandle.value, bounds.handle);
      if (err != DocumentError.success.value) {
        bounds.dispose();
        throw DocumentException(err);
      }
      return bounds;
    }