1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>PositionFlag</title> 8 </head> 9 <body> 10 <h1><CODE>nw::font::TextWriterBase::PositionFlag</CODE> Enumerated Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum PositionFlag; 15</pre> 16 </div> 17 <h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22 <th>Value</th> 23 <td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27 <th>HORIZONTAL_ALIGN_LEFT</th> 28 <td>Aligns multiple lines of text to the left.</td> 29 </tr> 30 <tr> 31 <th>HORIZONTAL_ALIGN_CENTER</th> 32 <td>Center-aligns multiple lines of text.</td> 33 </tr> 34 <tr> 35 <th>HORIZONTAL_ALIGN_RIGHT</th> 36 <td>Aligns multiple lines of text to the right.</td> 37 </tr> 38 <tr> 39 <th>HORIZONTAL_ALIGN_MASK</th> 40 <td> 41 </td> 42 </tr> 43 <tr> 44 <th>HORIZONTAL_ORIGIN_LEFT</th> 45 <td>Places the origin at the left edge of the text.</td> 46 </tr> 47 <tr> 48 <th>HORIZONTAL_ORIGIN_CENTER</th> 49 <td>Places the origin at the horizontal center of the text.</td> 50 </tr> 51 <tr> 52 <th>HORIZONTAL_ORIGIN_RIGHT</th> 53 <td>Places the origin to the left edge of the text.</td> 54 </tr> 55 <tr> 56 <th>HORIZONTAL_ORIGIN_MASK</th> 57 <td> 58 </td> 59 </tr> 60 <tr> 61 <th>VERTICAL_ORIGIN_TOP</th> 62 <td>Places the origin at the top edge of the text.</td> 63 </tr> 64 <tr> 65 <th>VERTICAL_ORIGIN_MIDDLE</th> 66 <td>Places the origin at the vertical center of the text.</td> 67 </tr> 68 <tr> 69 <th>VERTICAL_ORIGIN_BOTTOM</th> 70 <td>Places the origin at the baseline of the first line of the text.</td> 71 </tr> 72 <tr> 73 <th>VERTICAL_ORIGIN_BASELINE</th> 74 <td>Places the origin at the bottom edge of the text.</td> 75 </tr> 76 <tr> 77 <th>VERTICAL_ORIGIN_MASK</th> 78 <td> 79 </td> 80 </tr> 81 </table> </div> 82 <h2>Description</h2> 83 <div class="section"> 84 <p>Text drawing flags used with the <CODE><a href="../../../nw/font/TextWriterBase/SetDrawFlag.html">SetDrawFlag</a></CODE> function to position the text string.</p> 85 </div> 86 <hr><p>CONFIDENTIAL</p></body> 87</html>