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

UploadedFile.HorizontalResolution Property

Gets a horizontal resolution of this user-selected file (measured in DPI - dots per inches) if it is an image.

Syntax

PHP Initialize
public function getHorizontalResolution() {
}

Property Value

Type: string

The horizontal resolution of this user-selected file (in DPI) if it is an image. Otherwise, this property returns 0.

See Also

Reference