RVTDocs.com

ColorFillScheme.AddEntry

Method
Description:
Adds new entry to the scheme.
Remarks:
To make sure that entry can be added to the scheme, call IsEntryConsistentWithScheme(ColorFillSchemeEntry) first.
Syntax
public void AddEntry(
	ColorFillSchemeEntry entry
)
Parameters
Parameter Type Description
entry ColorFillSchemeEntry
Return Value
Exceptions
Exception Condition
ArgumentException There already exists an entry with the same value in the scheme. -or- The entry value is out of range. -or- The scheme and the entry have different parameter storage type. -or- The fill pattern id is not valid for scheme.
ArgumentNullException A non-optional argument was null