InfoConnect API Guide
Attachmate.Reflection.Emulation.Common Namespace / HostField Class / ForegroundColor Property
Example


In This Topic
    ForegroundColor Property (HostField)
    In This Topic
    Gets the foreground color.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ForegroundColor As ScreenColor
    'Usage
     
    
    Dim instance As HostField
    Dim value As ScreenColor
     
    value = instance.ForegroundColor
    public ScreenColor ForegroundColor {get;}
    Example
    HostField host;
    ScreenColor scrColor;
                
    //Get the foreground color.
    scrColor = host.ForegroundColor;
    See Also