Keysight Pathwave 89600 VSA .NET API
Color(DisplayColor,Int32) Method
See Also 
Agilent.SA.Vsa.Interfaces Assembly > Agilent.SA.Vsa Namespace > Display Class > Color Method : Color(DisplayColor,Int32) Method


colorIndex
The color index.
traceIndex
The trace index.

Glossary Item Box

Get the color (as a string) for the color index.

Syntax

Visual Basic (Declaration) 
Public Overloads MustOverride Function Color( _
   ByVal colorIndex As DisplayColor, _
   ByVal traceIndex As Integer _
) As String
C# 
public abstract string Color( 
   DisplayColor colorIndex,
   int traceIndex
)
C++/CLI 
public:
abstract String^ Color( 
   DisplayColor colorIndex,
   int traceIndex
) 

Parameters

colorIndex
The color index.
traceIndex
The trace index.

Return Value

The color in a serializable form (as a string).

Remarks

If this color is not IsColorByTrace, then the traceIndex is ignored.

Requirements

Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)

See Also