Skip to content

DefaultUploadProcessor.CreateDefaultThumb method

Creates the default thumbnail for image if the size is provided in the upload image options (ThumbWidth and ThumbHeight >= 0) and saves it to the target upload storage file

public virtual ScaleImageAsResult? CreateDefaultThumb(object image, IUploadImageOptions options, 
    string imageFile)
parameter description
image Image
options Upload image options
imageFile Main image file

Exceptions

exception condition
ArgumentNullException image, options or temporaryFile is null

See Also