# setMaximumVerticalPosition method

void setMaximumVerticalPosition(

1. int maximumVerticalPosition

)

Sets the maximum distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image. For ICAO compliance, the value must be in the range 30 to 50. Hint: Default value is 50.

param maximumVerticalPosition Maximum distance from the bottom edge of the image to the imaginary line passing through the center of the eyes is between 50% - 70% of the total vertical length of the image. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setMaximumVerticalPosition(int maximumVerticalPosition) {
      var err = faceSDK.id3FacePortraitProcessor_SetMaximumVerticalPosition(_pHandle.value, maximumVerticalPosition);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }