ArcObjects Library Reference (Display)  

IColorRamp.Size Property

The number of colors that will be generated by the CreateRamp method.

[Visual Basic .NET]
Public Property Size As Integer
[C#]
public int Size {get; set;}
[C++]
HRESULT get_Size(
  long* Count
);
[C++]
HRESULT put_Size(
  long Count
);
[C++]

Parameters

Count [out, retval]   Count is a parameter of type long Count [in]   Count is a parameter of type long

Product Availability

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

Description

Size is the number of colors that will be generated when the CreateRamp method is used.

See Also

IColorRamp Interface

.NET Samples

Create a custom default raster catalog renderer (Code Files: CustomRasterCatalogRenderer_VBNET) | Retrieve a color ramp from the SymbologyControl (Code Files: SymbolForm)

.NET Related Topics

Defining a renderer for a layer | How to create a raster classify renderer | How to create a raster unique value renderer | How to make different types of colors and color ramps