th but calculate the height based on the width. The proper scale factor is then set, and the content does not have to do anything special beyond that. To gain this behavior, set up your view and content as shown in <A HREF="#VisContent_7.htm_27948"> Keeping the View Aspect Ratio</A>
.</P>
<P CLASS="figTitle">
Code Display 17-4 <A NAME="VisContent_7.htm_27948">
 </A>
Keeping the View Aspect Ratio</P>
<PRE>/* This example shows a view and its content. The content object is of a fixed
 * size, and the view is 