Method CreateColorParameter
CreateColorParameter(DocumentId, Color)
Creates a color parameter entity in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 18, 0, 0)]
ElementId CreateColorParameter(DocumentId inDocumentId, Color inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| Color | inValue | Color |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created parameter entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.18.