Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IThemeColor Interface / GetBackgroundColor Method
The host color or attribute whose mapped color is returned.


In This Topic
    GetBackgroundColor Method (IThemeColor)
    In This Topic
    Returns the current mapped background color for a given terminal attribute.
    Syntax
    'Declaration
     
    
    Function GetBackgroundColor( _
       ByVal attr As IbmTerminalAttributeOption _
    ) As Color
    'Usage
     
    
    Dim instance As IThemeColor
    Dim attr As IbmTerminalAttributeOption
    Dim value As Color
     
    value = instance.GetBackgroundColor(attr)
    Color GetBackgroundColor( 
       IbmTerminalAttributeOption attr
    )

    Parameters

    attr
    The host color or attribute whose mapped color is returned.

    Return Value

    The current background color mapping for the specified attribute.
    Remarks
    Throws an exception when IsBackgroundSingleColor is false.
    See Also