Click or drag to resize

MasterDrawComponentCollection Class

Represents a collection of drawing component definitions.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADMasterDrawComponentCollection

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 MasterDrawComponentCollection : IList, 
	ICollection, IEnumerable, IEnumerable<MasterDrawComponent>

The MasterDrawComponentCollection type exposes the following members.

Constructors
  NameDescription
Protected methodMasterDrawComponentCollection
Initializes a new instance of the MasterDrawComponentCollection class
Top
Properties
  NameDescription
Public propertyCount
Get the number of drawing component definitions in the collection.
Public propertyItemInt32
Get the drawing part definition at the specified index in the collection.
Public propertyItemString
Get the drawing component definition with the specified name in the collection.
Top
Methods
  NameDescription
Public methodAdd(MasterDrawComponent, Boolean)
Add the drawing component definition for other document.
Public methodAdd(String, Shape, Point2d)
Add a drawing part definition.
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 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 methodIndexOf
Returns the index in the collection of the specified drawing component definition.
Public methodIndexOfID
Returns the index in the collection of the ID of the specified drawing part definition.
Public methodIndexOfName
Returns the index in the collection of the specified drawing component definition name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Delete the specified drawing component definition.
Public methodRemoveAt
Delete the drawing component definition of the specified index.
Public methodRemoveByName
Delete the drawing component definition with the specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also