ColorFillSchemeEntry Class


Color Fill Scheme Entry Class

Represents an entry of a [!:Autodesk::Revit::DB::ColorFillScheme] .
Inheritance Hierarchy
System Object
Autodesk.Revit.DB ColorFillSchemeEntry

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ColorFillSchemeEntry : IDisposable

The ColorFillSchemeEntry type exposes the following members.

Constructors
Name Description
Public method ColorFillSchemeEntry Creates new ColorFillSchemeEntry.
Top
Properties
Name Description
Public property Caption The text displayed in [!:Autodesk::Revit::DB::ColorFillLegend] for this entry.
Public property Color The filling color of this entry.
Public property FillPatternId The id of fill pattern element of this entry.
Public property IsInUse Represents if there exists at least one element colored based on this entry in the document.
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public property IsVisible Represents if the element colored based on this entry is visible in views.
Public property StorageType The storage type of the value stored in this entry.
Top
Methods
Name Description
Public method CanSetValue(Double) Checks whether StorageType of entry is Double and the value is no less than 0.0.
Public method CanSetValue(ElementId) Checks whether StorageType of entry is ElementId.
Public method CanSetValue(Int32) Checks whether StorageType of entry is Integer.
Public method Dispose Releases all resources used by the ColorFillSchemeEntry
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetDoubleValue Gets the Double value stored within the entry.
Public method GetElementIdValue Gets the ElementId value stored within the entry.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetIntegerValue Gets the Integer value stored within the entry.
Public method GetStringValue Gets the String value stored within the entry.
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method SetDoubleValue Sets new Double value of entry.
Public method SetElementIdValue Sets new ElementId value of entry.
Public method SetIntegerValue Sets new Integer value of entry.
Public method SetStringValue Sets new String value of entry.
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also