This documentation is for the old version. Go to the latest Upload Suite docs

UploadedFile.SourceWidth Property

Gets width of this user-selected file (in pixels) if it is an image.

Syntax

PHP Initialize
public function getSourceWidth() {
}

Property Value

Type: string

The width of this user-selected file (in pixels) it it is an image. Otherwise, this property returns 0.

See Also

Reference