# getCropIodRatio method

double getCropIodRatio()

Gets the ratio between the interocular distance (IOD) and the image width for ICAO portrait cropping. Must be in the range )0;1(. Hint: Default value is 0.25.

return Ratio between the interocular distance (IOD) and the image width for ICAO portrait cropping. Must be in the range )0;1(. throws FaceException An error has occurred during Face Library execution.

## Implementation

    double getCropIodRatio() {
      Pointer<Float> pCropIodRatio = calloc();
      try {
        var err = faceSDK.id3FacePortraitProcessor_GetCropIodRatio(_pHandle.value, pCropIodRatio);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vCropIodRatio = pCropIodRatio.value;
        return vCropIodRatio;
      } finally {
        calloc.free(pCropIodRatio);
      }
    }