# CAMERA_HeightToSize

## Syntax

  `#include <twl/camera.h>`
  `CAMERASize CAMERA_HeightToSize( u16 height )`

## Arguments

height | Height (in pixels)

## Return Values

Returns the camera resolution that corresponds to the specified height. Returns `CAMERA_SIZE_MAX` if there is no corresponding resolution.

## Description

Returns the `CAMERASize` type resolution that corresponds to the height specified as an argument.

## Revision History

2007/11/13 Initial version.

CONFIDENTIAL