Specifies possible values for thumbnail fit modes.

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

Syntax

Visual Basic

Public Enumeration ThumbnailFitMode

C#

public enum ThumbnailFitMode

Members

Member name Description
Fit

The original image should be resized to fit the rectangle specified with the ThumbnailHeight and ThumbnailWidth properties. Note that the proportions of the original image will be kept.

Width

The original image should be resized to be no higher than the ThumbnailWidth value.

Height

The original image should be resized to be no wider than the ThumbnailHeight value.

ActualSize

Dimensions of the original image should be keeped; however, it can be rotated or recompressed if necessary.

OrientationalFit

The original image should be resized depending on its orientation (portrait or landscape):