Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / Attachmate.Reflection.Objects.Emulation.IbmHosts Library / ThemeColor Object / GetBackgroundColor Method
An IbmTerminalAttributeOption Enumeration value that specifies the host color or attribute whose mapped color should be returned.
GetBackgroundColor Method (ThemeColor)
Returns the current mapped background color for a given terminal attribute.
Syntax
expression.GetBackgroundColor( _
   ByVal attr As IbmTerminalAttributeOption _
) As Color
where expression is a variable that represents a ThemeColor Object

Parameters

attr
An IbmTerminalAttributeOption Enumeration value that specifies the host color or attribute whose mapped color should be returned.

Return Value

The current background color mapping for the specified attribute.
Exceptions
ExceptionDescription
Throws an exception when the ThemeColor object is false.
See Also