Click or drag to resize

ColorItemCollection Class

This class represents a collection of colors.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADColorItemCollection

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class ColorItemCollection : IList, 
	ICollection, IEnumerable, IEnumerable<ColorItem>

The ColorItemCollection type exposes the following members.

Constructors
  NameDescription
Protected methodColorItemCollection
Initializes a new instance of the ColorItemCollection class
Top
Properties
  NameDescription
Public propertyCount
Get the number of colors in the collection.
Public propertyDocument
Get the document.
Public propertyItem
Get the color of the specified index.
Public propertyLayerColor
Get layer color.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetColorByNumber
Get the color of the specified color number.
Public methodGetEnumerator
Return an enumerator that iterates over the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOfColorNumber
Get the index of the specified color number.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also