Aurigma ActiveX/Java Uploader 8.0.33
Converter.ThumbnailFitMode Property
Gets or sets a fit mode of the thumbnail.
Syntax
PHP
public function getThumbnailFitMode() {
}
public function setThumbnailFitMode($value) {
}
Property Value
Type: string
The fit mode of the thumbnail.
The following values are supported:
| Value | Description |
|---|---|
| ActualSize | means that dimensions of the original image should be kept; however, it can be rotated or recompressed if necessary. |
| Fit | means that 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 | means that the original image should be resized to be no higher than ThumbnailHeight value. |
| OrientationalFit | means that the original image should be resized depending on its orientation (portrait or landscape):
|
| Width | means that the original image should be resized to be no wider than ThumbnailWidth value. |
Default value is "Fit".