Converter.ThumbnailFitMode Property HTML5/Flash Uploader PHP

Supported technologies: Adobe FlashHTML 5

Gets or sets the fit mode of the thumbnail.

Syntax

PHP Initialize
public function getThumbnailFitMode() {
}

public function setThumbnailFitMode($value) {
}

Property Value

Type: string

The fit mode of the thumbnail.

Default value is "Fit".

Remarks

The following values are supported:

  • ActualSize means that dimensions of the original image should be kept; however, it can be rotated or recompressed if necessary.
  • Crop means that the image is automatically cropped before the resize to have the same aspect ratio as specified by ThumbnailHeight and ThumbnailWidth properties.
  • 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.
  • Width means that the original image should be resized to be no wider than ThumbnailWidth value.

This property makes sense only if the Mode property has the Thumbnail value.

See Also

Reference