# setMaximumRollAngle method

void setMaximumRollAngle(

1. double maximumRollAngle

)

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

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

## Implementation

    void setMaximumRollAngle(double maximumRollAngle) {
      var err = faceSDK.id3FacePortraitProcessor_SetMaximumRollAngle(_pHandle.value, maximumRollAngle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }