ColorFillSchemeEntry
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.
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.
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)