Class CIMSpotColorSpace

Namespace
ESRI.ArcGIS.CIM
Assembly
ESRI.Server.CIM.dll

Represents a color space for spot colors.

public class CIMSpotColorSpace : CIMColorSpace
Inheritance
CIMSpotColorSpace
Inherited Members

Remarks

A color space defined for spot colors including alternate and book colors.

Constructors

CIMSpotColorSpace()

public CIMSpotColorSpace()

Properties

AlternativeColor

Gets or sets the standard (non-spot) color that is used to display the color on-screen.

public CIMColor AlternativeColor { get; set; }

Property Value

CIMColor

BookColor

Gets or sets the if present, the color used during output.

public CIMColor BookColor { get; set; }

Property Value

CIMColor

BookID

Gets or sets the ID of the book the color name belongs to.

public string BookID { get; set; }

Property Value

string

Description

Gets or sets a description of the ink. This can provide more information than the name.

public string Description { get; set; }

Property Value

string

IsReferencedColor

Gets or sets a value indicating whether or not the color is a referenced color. When this property is true, the alternative color will be looked up from the color book based on the BookID and Name.

public bool IsReferencedColor { get; set; }

Property Value

bool

Name

Gets or sets the defined ink name for the spot color. Usually this is a well-known color standard name.

public string Name { get; set; }

Property Value

string

Methods

FromJson(string, JsonDeserializationSettings)

Reconstructs the CIMSpotColorSpace with a specified state from a JSON encoding.

public static CIMSpotColorSpace FromJson(string json, JsonDeserializationSettings settings = null)

Parameters

json string

The JSON string containing the CIMSpotColorSpace state.

settings JsonDeserializationSettings

The JSON deserialization settings.

Returns

CIMSpotColorSpace

ToJson(JsonSerializationSettings)

Creates a JSON encoding of the CIMSpotColorSpace and its current state.

public override string ToJson(JsonSerializationSettings settings = null)

Parameters

settings JsonSerializationSettings

The JSON serialization settings.

Returns

string