# setCropEyePositionRatio method

void setCropEyePositionRatio(

1. double cropEyePositionRatio

)

Sets the ratio between the vertical eye position and the image height for ICAO portrait cropping. Must be in the range )0;1(. Hint: Default value is 0.45.

param cropEyePositionRatio Ratio between the vertical eye position and the image height for ICAO portrait cropping. Must be in the range )0;1(. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setCropEyePositionRatio(double cropEyePositionRatio) {
      var err = faceSDK.id3FacePortraitProcessor_SetCropEyePositionRatio(_pHandle.value, cropEyePositionRatio);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }