Generates a color ramp with length determined by Size value.
[Visual Basic .NET] Public Sub CreateRamp ( _ ByRef ok As Boolean _ )
[C#] public void CreateRamp ( ref bool ok );
[C++]
HRESULT CreateRamp(
VARIANT_BOOL* ok
);
[C++]Parameters
ok [out] ok is a parameter of type VARIANT_BOOL
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
CreateRamp generates the number of colors in a color ramp as specified in the Size property. The boolean pOK is a mask, i.e., you supply the boolean object and the method will set its value. Generally speaking pOK will only return false if a property is missing.
Remarks
Use the CreateRamp after you have set the other properties like Size and the colors specific paramters.
See Also
IColorRamp Interface | IColorRamp Interface | IMultiPartColorRamp Interface | IColorRamp.CreateRamp Method | IPresetColorRamp Interface | IAlgorithmicColorRamp Interface | IColorRamp.Color Property | IRandomColorRamp Interface