This version of Unity is unsupported.

AspectRatioFitter.aspectMode

public UI.AspectRatioFitter.AspectMode aspectMode;

Description

The mode to use to enforce the aspect ratio.