InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.Common Library / ThemeColor Object / GetBackgroundColor Method
The host color or attribute whose mapped color should be returned.
Example
In This Topic
    GetBackgroundColor Method (ThemeColor)
    In This Topic
    Returns the current mapped background color for a given terminal attribute.
    Syntax
    expression.GetBackgroundColor( _
       ByVal attr As TerminalAttributeOption _
    ) As Color
    where expression is a variable that represents a ThemeColor Object

    Parameters

    attr
    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.
    Example
    Attachmate.Reflection.Object.Emulation.Common.ThemeColor color
                
    Dim backgroundColor As Color = color.GetBackgroundColor(IbmTerminalAttributeOption.GraphicsBlack)
    See Also