Attributes Property  
 

Gets and sets the current display attribute for the terminal emulator.

Syntax

object.Attributes [= attributes ]

Remarks

The Attributes property can be used to determine the current display attributes, or to change the current attribute for subsequent text. The following table lists the attributes that are recognized by the control.

Value Constant Description
0 nvtAttributeNormal Normal, default attributes.
1 nvtAttributeReverse Foreground and background cell colors are reversed.
2 nvtAttributeBold The character is displayed using a higher intensity color.
4 nvtAttributeDim The character is displayed using a lower intensity color.
16 nvtAttributeUnderline The character is displayed with an underline.
32 nvtAttributeHidden The character is stored in display memory, but not shown.
64 nvtAttributeProtect The character is protected and cannot be cleared.

Data Type

Integer (Int32)

See Also

BoldColor Property, Cell Property, CursorStyle Property