Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DisplayWidth property

RichImageField.DisplayWidth property

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

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

[BrowsableAttribute(true)]
public int DisplayWidth { 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 DisplayHeight property is not also set, then only the Width value is controlled and the Height value follows the aspect ratio when rendered in the Web browser.

Show:
© 2015 Microsoft