GetFont ()
Get a font parameter from the data base.
Usage
fontPar = GetFont( path, par, default=None )
Parameters
- path (string)
- Data base path of the node containing the parameter.
- par (string)
- parameter name.
- default (string)
- Default value. This value is returned if the indicated path and par does not exist.
Return Value
- fontPar (string)
- The parameter value.
Errors
- The parameter in the data base must be a string.
- The parameter must exist in the data base or the default must not be None.
Description
nodeFont = ROOT + RS + 'font'
fontValue = GetFont( nodeFont, 'fontValue' )