Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IThemeColor Interface / GetAnsiColor Method
The ANSI color whose mapped color should be returned


In This Topic
    GetAnsiColor Method
    In This Topic
    Returns the current mapped color for a given ANSI terminal color
    Syntax
    'Declaration
     
    
    Function GetAnsiColor( _
       ByVal color As ScreenAnsiColor _
    ) As Color
    'Usage
     
    
    Dim instance As IThemeColor
    Dim color As ScreenAnsiColor
    Dim value As Color
     
    value = instance.GetAnsiColor(color)
    Color GetAnsiColor( 
       ScreenAnsiColor color
    )

    Parameters

    color
    The ANSI color whose mapped color should be returned

    Return Value

    The current color mapping for the specified attribute
    Remarks
    Mapping ANSI colors is only applicable for SCO ANSI, BBS ANSI, AT386, or Linux Console terminal types.
    See Also