TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 
This documentation is for the old version. Go to the latest Upload Suite docs

Restrictions Properties

The Restrictions type exposes the following properties.

Properties

NameDescription
Public property FileMask Gets or sets a file mask for the files which are allowed to be uploaded.
Public property MaxFileCount Gets or sets a maximum number of files allowed for upload per one session.
Public property MaxFileSize Gets or sets a maximum file size allowed for upload to the server.
Public property MaxImageHeight Gets or sets a maximum image height allowed for upload.
Public property MaxImageWidth Gets or sets a maximum image width allowed for upload.
Public property MaxTotalFileSize Gets or sets a maximum total file size allowed for upload.
Public property MinFileCount Gets or sets a minimum number of files allowed for upload per one session.
Public property MinFileSize Gets or sets a minimum file size allowed for upload.
Public property MinImageHeight Gets or sets a minimum image height allowed for upload.
Public property MinImageWidth Gets or sets a minimum image width allowed for upload.