InfoConnect for Unisys
GetForegroundColor Method (IThemeColor)


The host text attribute whose mapped color should be returned
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