Attachmate.Reflection.Objects.Emulation.Common Library > ThemeColor Object : GetForegroundColor Function |
object.GetForegroundColor( _ ByVal attr As TerminalAttributeOption _ ) As Color
Exception | Description |
---|---|
NewInvalidOperationException | Throws an exception when the ThemeColor object is null. |
Attachmate.Reflection.Object.Emulation.Common.ThemeColor color Dim foregroundColor As Color = color.GetForegroundColor(IbmTerminalAttributeOption.GraphicsBlack)