Specifies possible values for thumbnail fit modes.
Namespace:
Aurigma.ImageUploader
Assembly:
Aurigma.ImageUploader (in Aurigma.ImageUploader.dll)
public enum ThumbnailFitMode
Member name | Description |
---|---|
ActualSize |
Dimensions of the original image should be keeped; however, it can be rotated or recompressed if necessary. |
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. |
OrientationalFit |
The original image should be resized depending on its orientation (portrait or landscape):
|
Width |
The original image should be resized to be no higher than the ThumbnailWidth value. |