Export (0) Print
Expand All

RichImageField.RenditionId property

SharePoint 2013

Gets or sets the ID of a valid image rendition of the site collection.

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

[BrowsableAttribute(true)]
public int RenditionId { get; set; }

Property value

Type: System.Int32
The ID of a valid image rendition.

If the RenditionId property is set to the ID of a valid image rendition of the site collection, then the RenditionId property will be used automatically to select the image rendition to use for the selected image.

The user interface (UI) that is used to select the image rendition of the image is also disabled. If the RenditionId property is set, the image URL will include the rendition ID when rendered in the browser.

Community Additions

ADD
Show:
© 2014 Microsoft