RichImageSelector.DisplayHeight Property
Sets the ImageFieldValueheight if the value is set to an integer greater than 0.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<BrowsableAttribute(True)> _
Public Property DisplayHeight As Integer
Get
Set
'Usage
Dim instance As RichImageSelector
Dim value As Integer
value = instance.DisplayHeight
instance.DisplayHeight = value
[BrowsableAttribute(true)]
public int DisplayHeight { get; set; }
Property Value
Type: System.Int32
Remarks
When the DisplayHeight property is set, the user interface (UI) that allows editing of the height and width properties of an image is disabled. If the DisplayWidth property is not set, then only the Height value will be controlled and the Width value will follow the aspect ratio when rendered in the browser.