This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IP > IPresetColorRamp Interface > IPresetColorRamp.NumberOfPresetColors Property (ArcObjects .NET 10.4 SDK) |
The number of valid colors in the color ramp. This must equal 13 before you can get values from the ramp.
[Visual Basic .NET] Public ReadOnly Property NumberOfPresetColors As Integer
[C#] public int NumberOfPresetColors {get;}
[C++]
HRESULT get_NumberOfPresetColors(
long* Count
);
[C++]
Parameters Count [out, retval] Count is a parameter of type long