ThumbnailSize property

SPDocumentLibrary.ThumbnailSize property

Gets or sets the height and width of a thumbnail image in pixels in the image gallery.

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

public int ThumbnailSize { get; set; }

Property value

Type: System.Int32
Returns Int32 indicating the size of a thumbnail images.


Thrown when setting ThumbnailSize to a value less than 1.

© 2015 Microsoft