Click or drag to resize

FieldDictionaryAdd Method (String, Color)

Add a new Color4fField to the dictionary. This will be a data only field and not show up in the content browsers.

Namespace:  Rhino.Render.Fields
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public Color4fField Add(
	string key,
	Color value
)

Parameters

key
Type: SystemString
Key name for the field value to change.
value
Type: System.DrawingColor
Initial value for this field.

Return Value

Type: Color4fField

[Missing <returns> documentation for "M:Rhino.Render.Fields.FieldDictionary.Add(System.String,System.Drawing.Color)"]

Exceptions
ExceptionCondition
ArgumentException An element with the same key already exists in the dictionary
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also