# setMaximumPitchAngle method

void setMaximumPitchAngle(

1. double maximumPitchAngle

)

Sets the maximum head pitch angle, in degrees, for frontal positioning. Hint: Default value is 20.

param maximumPitchAngle Maximum head pitch angle, in degrees, for frontal positioning. throws FaceException An error has occurred during Face Library execution.

## Implementation

    void setMaximumPitchAngle(double maximumPitchAngle) {
      var err = faceSDK.id3FacePortraitProcessor_SetMaximumPitchAngle(_pHandle.value, maximumPitchAngle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }