Attachmate Reflection 2014 .NET API Reference
GetForegroundColor Method (IThemeColor)


The host color or attribute whose mapped color is returned.
Returns the current mapped foreground color for a given terminal attribute.
Syntax
'Declaration
 
Function GetForegroundColor( _
   ByVal attr As IbmTerminalAttributeOption _
) As Color
'Usage
 
Dim instance As IThemeColor
Dim attr As IbmTerminalAttributeOption
Dim value As Color
 
value = instance.GetForegroundColor(attr)
Color GetForegroundColor( 
   IbmTerminalAttributeOption attr
)

Parameters

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

Return Value

The current foreground color mapping for the specified attribute.
Remarks
Throws an exception when IsBackgroundSingleColor is false.
Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IThemeColor Interface
IThemeColor Members

Send Feedback