InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IThemeColor Interface / GetForegroundColor Method
The host text attribute whose mapped color should be returned


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

    Parameters

    attr
    The host text attribute whose mapped color should be returned

    Return Value

    The current foreground color mapping for the specified attribute
    See Also