Show / Hide Table of Contents

Method Create

Create(PresetColorRampType, UInt32)

Creates a color ramp with predefined color ramp type and size.

Declaration
public static ColorRamp Create(PresetColorRampType type, uint size = 256U)
Parameters
Type Name Description
PresetColorRampType type

The predefined color ramp type.

System.UInt32 size

Size of the color ramp. A typical value is 256.

Returns
Type Description
ColorRamp

New color ramp.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.