void SetTextStyle( int nStyle )
int nStyle
A predefined constant specifying the desired style. The valid values are STYLE_REGULAR, STYLE_BOLD,
STYLE_ITALIC, and STYLE_BOLDITALIC.
This method sets the style of subsequent textual output.
x = ranuni( 1:5 ); print x; declare OutputDocument doc = OutputDocument.GetDefault(); doc.SetTextStyle( STYLE_BOLD ); doc.SetTextColor( RED ); print "Some important message"; doc.SetTextDefaultFont(); x = ranuni( 1:5 ); print x;