Specifies possible values for the ProgressBytesMode property.

Namespace: Aurigma.ImageUploader
Assembly: Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)

Syntax

Visual Basic

Public Enumeration ProgressBytesMode

C#

public enum ProgressBytesMode

Members

Member name Description
ByPackageSize

The size of the uploaded session and the uploaded bytes are measured by the size of the current package. Thus, this mode is the nearest estimation of the uploaded bytes when you set several converters and upload all files in one package (i.e. FilesPerPackage is 0).

BySourceSize

The size of the upload session and the uploaded bytes are measured by sizes of user-selected files. For example, if you select two files of 5 and 10 Mb, the total upload size will be 15 Mb and the amount of uploaded bytes will grow from 0 to 15 Mb during the upload, regardless of converted files and other auxiliary data. Thus, this mode is the nearest estimation of the uploaded bytes when you upload original files only.

Remarks

This property determines how to estimate the total size of the upload session as well as the amount of bytes that have already been sent to a server. These data are used in the uploading files dialog and the Progress event.