InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / IThemeColor Interface / SetAnsiColor Method
The ANSI color whose mapped color should be set
The new color mapping for the specified attribute


In This Topic
    SetAnsiColor Method
    In This Topic
    Sets the current mapped color for a given ANSI terminal color
    Syntax
    'Declaration
     
    
    Sub SetAnsiColor( _
       ByVal color As ScreenAnsiColor, _
       ByVal newColor As Color _
    ) 
    'Usage
     
    
    Dim instance As IThemeColor
    Dim color As ScreenAnsiColor
    Dim newColor As Color
     
    instance.SetAnsiColor(color, newColor)
    void SetAnsiColor( 
       ScreenAnsiColor color,
       Color newColor
    )

    Parameters

    color
    The ANSI color whose mapped color should be set
    newColor
    The new 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