SP.Publishing.ImageRendition.width property (sp.publishing)

Gets or sets the width for the image rendition.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Publishing.ImageRendition.get_width()
SP.Publishing.ImageRendition.set_width(Number value)

Return value

NUMBER

The width for the image rendition.