procedure GetCharAttrs(var aValue : TApxTerminalCharAttrs);
TApxTerminalCharAttr = (tcaBold, tcaUnderline, tcaStrikethrough,
tcaBlink, tcaReverse, tcaInvisible);
TApxTerminalCharAttrs = set of TApxTerminalCharAttr;
Returns the current set of display attributes.
The display attributes define the style of new text. The attributes are bold, underlined, strikethrough, blink, reverse image (i.e., the text displayed in BackColor, the background in ForeColor), and invisible.
If you wish to add a new attribute to the current set, see the following code example:
var
Attrs : TApxTerminalCharAttrs;
begin
...
MyBuffer.GetCharAttrs(Attrs);
Attrs := Attrs + [tcaUnderline];
MyBuffer.SetCharAttrs(Attrs);
See also: GetDefCharAttrs, SetCharAttrs