This document is archived and information here might be outdated.  Recommended version.


ISeriesProperties.Color Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ISeriesProperties.Color Property

Color used when ColorType of series property is esriGraphColorCustomEach.

[Visual Basic .NET]
Public Function get_Color ( _
    ByVal OID As Integer _
) As Integer
[Visual Basic .NET]
Public Sub set_Color ( _
    ByVal OID As Integer, _
    ByVal pColor As Integer _
)
[C#]
public int get_Color (
    int OID
);
[C#]
public void set_Color (
    int OID,
    int pColor
);
[C++]
HRESULT get_Color(
  long OID,
  long* pColor
);
[C++]
HRESULT put_Color(
  long OID,
  long pColor
);
[C++]

Parameters OID [in] OID is a parameter of type long pColor [out, retval] pColor is a parameter of type long OID [in] OID is a parameter of type long pColor [in] pColor is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ISeriesProperties Interface

.NET Related Topics

How to create graph series with different color types | How to sort data in the graph