Constructor SmartColor
SmartColor(Color)
Initializes a new instance of the SmartColor class.
Declaration
public SmartColor(Color inValue)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | inValue | The value. |
SmartColor(ElementId)
Initializes a new instance of the SmartColor class.
Declaration
public SmartColor(ElementId inElementId)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
SmartColor(ElementId, ItemLabel)
Initializes a new instance of the SmartColor class.
Declaration
public SmartColor(ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| ElementId | inElementId | Identifier of providing element. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |
SmartColor(SmartColorType, Color, ElementId, ItemLabel)
Initializes a new instance of the SmartColor class.
Declaration
public SmartColor(SmartColorType inType, Color inValue, ElementId inElementId, ItemLabel inItemLabel)
Parameters
| Type | Name | Description |
|---|---|---|
| SmartColorType | inType | Type of smart color. |
| Color | inValue | Value of the color. |
| ElementId | inElementId | Identifier of providing element, or Empty for none. |
| ItemLabel | inItemLabel | Label of providing element item, or Empty for none. |