1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<TITLE>CAMERA_HeightToSize</TITLE> 8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 9</HEAD> 10<BODY> 11<H1 align="left">CAMERA_HeightToSize <IMG src="../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13<DL> 14 <DD> 15 <CODE>#include <twl/camera.h></CODE><BR> 16 <BR> 17 <CODE><A href="CAMERASize.html">CAMERASize</A> CAMERA_HeightToSize( u16 height )</CODE> 18</DL> 19<H2>Arguments</H2> 20<TABLE border="1" width="100%"> 21 <TBODY> 22 <TR> 23 <TD width="13%"><EM><STRONG>height</STRONG></EM></TD> 24 <TD width="87%">Height (in pixels)</TD> 25 </TR> 26 </TBODY> 27</TABLE> 28 29<H2>Return Values</H2> 30<P> 31Returns the camera resolution that corresponds to the specified height. Returns <CODE>CAMERA_SIZE_MAX</CODE> if there is no corresponding resolution. 32</P> 33 34<H2>Description</H2> 35<P> 36Returns the <A href="CAMERASize.html"><CODE>CAMERASize</CODE></A> type resolution that corresponds to the height specified as an argument. 37</P> 38 39<H2>Revision History</H2> 40<P>2007/11/13 Initial version.</P> 41<hr><p>CONFIDENTIAL</p></body> 42</HTML> 43