# setMaximumYawAngle method

void setMaximumYawAngle(

1. double maximumYawAngle

)

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

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

## Implementation

    void setMaximumYawAngle(double maximumYawAngle) {
      var err = faceSDK.id3FacePortraitProcessor_SetMaximumYawAngle(_pHandle.value, maximumYawAngle);
      if (err != FaceError.success.value) {
        throw FaceException(err);
      }
    }