Class ThumbnailFormatUtil
Inheritance
ThumbnailFormatUtil
Assembly: ImageVault.EPiServer.dll
public class ThumbnailFormatUtil
Constructors
Initializes a new instance of the ThumbnailFormatUtil class.
Declaration
public ThumbnailFormatUtil(int defaultWidth, int defaultHeight, ResizeMode defaultResizeMode)
Parameters
Properties
Declaration
public int DefaultChannelHeight { get; }
Property Value
Declaration
public int DefaultChannelWidth { get; }
Property Value
Gets the Default Format of the Thumbnail
Declaration
public ThumbnailFormat DefaultFormat { get; }
Property Value
Gets the default height of the Thumbnail
Declaration
public int DefaultHeight { get; }
Property Value
Gets the Default Resize Mode of the thumbnail
Declaration
public ResizeMode DefaultResizeMode { get; }
Property Value
Gets the default width of the Thumbnail
Declaration
public int DefaultWidth { get; }
Property Value
Methods
Gets the thumbnail format suitable for the supplied value and settings
Declaration
public ThumbnailFormat GetThumbnailFormat(MediaReference value, PropertyMediaSettings currentSettings, DisplayChannelSetting displayChannelSetting = null)
Parameters
Returns