SetForegroundColor Method (ThemeColor)
Sets the current mapped foreground color for a given terminal attribute.
Parameters
- attr
- The host color or attribute whose mapped color should be set.
- newColor
- The new foreground color mapping for the specified attribute.
Exception | Description |
NewInvalidOperationException | Throws an exception when The ThemeColor object is false. |
Attachmate.Reflection.Object.Emulation.Common.ThemeColor color
color.SetForegroundColor(IbmTerminalAttributeOption.GraphicsBlack,Color.blue)