CellFont
New to Analytica 5.0
CellFont( face, size, color, bold, italics, underline )
Specifies one or more font properties for a table cell. This function can be used from within the Cell Format Expression attribute. Please see Computed cell formats for details. All parameters are optional, but it only makes sense to use with at least one parameter.
Parameters:
- «face»: The name of the TrueType font to use. Commonly used font names include
"Arial"
,"Comic Sans MS"
,"Courier New"
,"Georgia"
,"Impact"
,"Lucida Sans Unicode"
,"Palatino Linotype"
,"Tahoma"
,"Times New Roman"
,"Trebuchet MS"
,"Verdana"
,"MS Sans Serif"
,"MS Serif"
,"Symbol"
,"Wingdings"
, and"Webdings"
. - «size»: The point size of the font. Default is 13 when the Large text in attributes & tables Preference is on, 10 when it is off.
- «color»: The fill color, either an ARGB-integer, or the textual name of a color. See Color parameters for a description of ARGB-integers and a list of color names.
- «bold»: Boolean
- «italics»: Boolean
- «underline»: Boolean
Examples
CellFont( face: 'Courier New' )
CellFont( size:20 )
CellFont( color:'Red' )
If Self<0 then CellFont( color:'Red' )
CellFont( bold:true )
For a matrix know to be symmetric, it might be desirable to show only one triangle of it:
See Also
- Computed cell formats
- Color parameters
- CellFormats
- CellSpan
- Other cell format predicates: CellFill, CellBorder, CellBar, CellAlignment, CellNumberFormat, CellOnClick, CellEntry
Comments
Enable comment auto-refresher