getHeight() method

If an OzCamera object is added to the program, this method can run on it. It is used to get the height of the video stream in pixels.

Returns

height : Type: number. The height of the camera display in pixels.

Method usage example

In this example we will change the height of the video stream to 240 if it is bigger then 240 (Code example 1).