ColorFillScheme.Duplicate
Method
Description:
Generates a copy of current scheme.
Generates a copy of current scheme.
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | String | The desired name of copied scheme. |
Return Value
| Type | Description |
|---|---|
| ElementId | The id of copied scheme. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The name is not valid for new generated scheme. |
| ArgumentNullException | A non-optional argument was null |