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


IRandomColorRamp.UseSeed Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

IRandomColorRamp.UseSeed Property

Indicates if a seed is used when the ramp is generated. Set this property to True without changing the Seed to generate identical color ramps in succession.

[Visual Basic .NET]
Public Property UseSeed As Boolean
[C#]
public bool UseSeed {get; set;}
[C++]
HRESULT get_UseSeed(
  VARIANT_BOOL UseSeed
);
[C++]
HRESULT put_UseSeed(
  Boolean* UseSeed
);
[C++]

Parameters UseSeed [in]
UseSeed is a parameter of type bool UseSeed [out, retval]
UseSeed is a parameter of type bool*

Product Availability

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

Description

UseSeed is whether or not the IRandomColorRamp will use a random seed. If not, then the same sequence of random colors will be generated each time a specific color ramp is used.

See Also

IRandomColorRamp Interface

.NET Related Topics

Defining a renderer for a layer