| Revit 2020 API |
| PresetInitialColor..::..Preset Property |
| PresetInitialColor Class See Also |
The preset value
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since:
2013
Syntax
| C# |
|---|
public ColorPreset Preset { get; set; } |
| Visual Basic |
|---|
Public Property Preset As ColorPreset Get Set |
| Visual C++ |
|---|
public: property ColorPreset Preset { ColorPreset get (); void set (ColorPreset value); } |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |