ThumbnailFitMode Enumeration HTML5/Flash Uploader ASP.NET

Supported technologies: Adobe FlashHTML 5

Specifies possible values for thumbnail fit modes.

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

Syntax

C#
public enum ThumbnailFitMode

Members

Member name Description
ActualSize

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

Crop

The original image should be resized and cropped using specified ThumbnailHeight and ThumbnailWidth properties. The image is centered in these crop bounds.

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.

Height

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

Width

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

See Also

Reference