0 Replies Latest reply on Sep 22, 2011 2:03 AM by r4raghs

    Is this possible with TextArea?

    r4raghs

      TextArea.JPG

      I got the below as htmlText from TextArea,

       

      <TEXTFORMAT LEADING="2">

           <P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">this is line 1 this is line 2</FONT></P>

      </TEXTFORMAT>

       

      But what I need is,

       

      <TEXTFORMAT LEADING="2">

           <P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">this is line 1</FONT></P>

           <P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">this is line 2</FONT></P>

      </TEXTFORMAT>

       

       

      That is I would like to add <P/> programatically when text reaches maximum width and wraps to next line