Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.
This documentation is for the old version. Go to the latest Upload Suite docs

ThumbnailFitMode Enumeration

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

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):

See Also

Reference