# setCropIodRatio method

void setCropIodRatio(

1. double cropIodRatio

)

Sets 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.

param cropIodRatio 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

    void setCropIodRatio(double cropIodRatio) {
      var err = faceSDK.id3FacePortraitProcessor_SetCropIodRatio(_pHandle.value, cropIodRatio);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }