ConvertedFile.Width Property HTML5/Flash Uploader PHP

Supported technologies: Adobe FlashHTML 5

Gets an actual width (in pixels) of this converted file if it is an image.

Syntax

PHP Initialize
public function getWidth() {
}

Property Value

Type: string

The actual width of this converted file if it is an image. Otherwise, this property returns 0.

Remarks

Depending on the ThumbnailFitMode, this value may differ from the value specified through the ThumbnailWidth property. This happens because HTML5/Flash Uploader preserves the aspect ratio of the image and seldom can use the same dimensions as specified in the converter parameters.

See Also

Reference