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.