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