getHeight() - Media Method

The getHeight() method returns the vertical size in pixels.

Syntax

<object name>.getHeight();

Parameters

This function has no parameters.

Example

if (image.getHeight() == 480)

{...