namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Options for the uploaded image and thumbnails
public interface IUploadImageOptions : IUploadOptions
name | description |
---|---|
ScaleBackColor { get; set; } | Background color to use when padding image |
ScaleHeight { get; } | What height image should be scaled to. Default value of 0 disables it. |
ScaleMode { get; } | What kind of image scaling should be used to generate image. |
ScaleQuality { get; } | Quality of scaled image (not thumb). |
ScaleSmaller { get; } | Should image be scaled up to requested size when its smaller |
ScaleWidth { get; } | What width image should be scaled to. Default value of 0 disables it. |
ThumbBackColor { get; set; } | Background color to use when padding thumbnails |
ThumbHeight { get; set; } | Thumbnail height for the default thumbnail. Default is 0, e.g. disabled. |
ThumbMode { get; } | What kind of image scaling should be used to generate thumbnails. |
ThumbQuality { get; } | Quality of thumbnails. |
ThumbSizes { get; } | List of thumbnail sizes requested. Something like "96x96;128x128;200x200" |
ThumbWidth { get; set; } | Thumbnail width for the default thumbnail. Default is 0, e.g. disabled. |
- interface IUploadOptions
- Source: IUploadImageOptions.cs