advr.hlp (Topic list)
TEXTHEIGHT, TEXTWIDTH Method Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form. | picturebox.]TEXTHEIGHT(stringexpression$)
 [form. | picturebox.]TEXTWIDTH(stringexpression$)
 
 Usage Notes
   ■ TEXTHEIGHT returns 1 + the number of CR+LF sequences (the number of
     lines) contained in stringexpression$. For example:
 
         Carriage Returns    TextHeight
         ════════════════    ═══════════════════════════════════════════════
         0                   1
         1                   2
         2                   3
         ...                 ...
 
   ■ If stringexpression$ contains embedded carriage returns, TEXTWIDTH
     returns the length of the longest line.
 
   ■ If stringexpression$ does not contain any embedded carriage returns,
     then TEXTWIDTH returns the display length of stringexpression$. This
     value is equivalent to:
 
         LEN(stringexpression$)
 
     See: LEN Function