RichImageField.DisplayHeight property

If this property is set to an integer greater than 0, the ImageFieldValue.Height property is forced to this value.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public int DisplayHeight { get; set; }

Property value

Type: System.Int32

The user interface (UI) used to edit the height and width properties of the image are also disabled. If the DisplayWidth property is not also set, then only the Height value is controlled and the Width value follows the aspect ratio when rendered in the Web browser.