constants CaptionFormatEnum

The CaptionFormatEnum type defines how the cell's caption is painted.

 NameValueDescription 
   exText0 No HTML tags are painted.  
   exHTML1 The control uses built-in HTML tags to display the caption using HTML format. The control supports the following HTML tags: 
  • <b>  bold </b> bolds a part of the caption.
  • <u> underline </u> specifies that the portion should appear as underlined. 
  • <s> strikeout </s> specifies that the portion should appear as strikeout. 
  • <i> italic </i> specifies that the portion should appear as italic. 
  • <fgcolor=FF0000>fgcolor</fgcolor> changes the foreground color for a portion.
  • <bgcolor=FF0000>bgcolor</bgcolor> changes the background color for a portion.
  • <br> breaks a line.
  • <solidline> draws a solid line. If has no effect for a single line caption.
  • <dotline> draws a dotted line. If has no effect for a single line caption.
  • <upline> draws the line to the top of the text line
  • <r> aligns the rest of the text line to the right side. It has no effect if the caption contains a single line.
  • <img>number[:width]</img> inserts an icon inside the cell's caption. The number indicates the index of the icon being inserted. The width is optional and indicates the width of the icon being inserted. Using the width option you can overwrite multiple icons getting a nice effect. By default, if the width field is missing, the width is 18 pixels.
 

 


Send comments on this topic.
© 1999-2006 Exontrol Inc, Software. All rights reserved.