UploadOptions class
namespace: Serenity.ComponentModel assembly: Serenity.Net.Core
Set of default upload options
public class UploadOptions : IUploadFileConstraints, IUploadFileOptions, IUploadImageContrains,
IUploadImageOptions
Public Members
| name | description |
|---|---|
| UploadOptions() | The default constructor. |
| AllowedExtensions { get; set; } | |
| AllowNonImage { get; set; } | |
| CopyToHistory { get; set; } | |
| DisplayFileName { get; set; } | |
| FilenameFormat { get; set; } | |
| IgnoreEmptyImage { get; set; } | |
| IgnoreExtensionMismatch { get; set; } | |
| IgnoreInvalidImage { get; set; } | |
| ImageExtensions { get; set; } | |
| JsonEncodeValue { get; set; } | |
| MaxHeight { get; set; } | |
| MaxSize { get; set; } | |
| MaxWidth { get; set; } | |
| MinHeight { get; set; } | |
| MinSize { get; set; } | |
| MinWidth { get; set; } | |
| OriginalNameProperty { get; set; } | |
| ScaleBackColor { get; set; } | |
| ScaleHeight { get; set; } | |
| ScaleMode { get; set; } | |
| ScaleQuality { get; set; } | |
| ScaleSmaller { get; set; } | |
| ScaleWidth { get; set; } | |
| ThumbBackColor { get; set; } | |
| ThumbHeight { get; set; } | |
| ThumbMode { get; set; } | |
| ThumbQuality { get; set; } | |
| ThumbSizes { get; set; } | |
| ThumbWidth { get; set; } | |
| static DefaultImageExtensions | |
| const DefaultScaleMode | Default scale mode |
| const DefaultThumbMode | Default thumb mode |
| const DefaultThumbQuality | Default thumb quality |
See Also
- interface IUploadFileConstraints
- interface IUploadFileOptions
- interface IUploadImageContrains
- interface IUploadImageOptions
- Source: UploadOptions.cs