Difference between revisions of "CellFont"
(Initial content) |
(TrueType) |
||
Line 9: | Line 9: | ||
Parameters: | Parameters: | ||
− | * «face»: The name of the font to use. Commonly used font names include <code>"Arial"</code>, <code>"Comic Sans MS"</code>, <code>"Courier New"</code>, <code>"Georgia"</code>, <code>"Impact"</code>, <code>"Lucida Sans Unicode"</code>, <code>"Palatino Linotype"</code>, <code>"Tahoma"</code>, <code>"Times New Roman"</code>, <code>"Trebuchet MS"</code>, <code>"Verdana"</code>, <code>"MS Sans Serif"</code>, <code>"MS Serif"</code>, <code>"Symbol"</code>, <code>"Wingdings"</code>, and <code>"Webdings"</code>. | + | * «face»: The name of the TrueType font to use. Commonly used font names include <code>"Arial"</code>, <code>"Comic Sans MS"</code>, <code>"Courier New"</code>, <code>"Georgia"</code>, <code>"Impact"</code>, <code>"Lucida Sans Unicode"</code>, <code>"Palatino Linotype"</code>, <code>"Tahoma"</code>, <code>"Times New Roman"</code>, <code>"Trebuchet MS"</code>, <code>"Verdana"</code>, <code>"MS Sans Serif"</code>, <code>"MS Serif"</code>, <code>"Symbol"</code>, <code>"Wingdings"</code>, and <code>"Webdings"</code>. |
* «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. | * «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 [[CellFill]] for a description of ARGB-integers and a list of color names. | * «color»: The fill color, either an ARGB-integer, or the textual name of a color. See [[CellFill]] for a description of ARGB-integers and a list of color names. |
Revision as of 00:56, 9 June 2017
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 CellFill 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
- CellFormats
- CellSpan
- Other cell format predicates: CellFill, CellBorder, CellBar, CellAlignment, CellNumberFormat, CellOnClick, CellEntry
Comments
Enable comment auto-refresher