Click or drag to resize

DrawingCollection Class

Represents a collection of partial drawings.
Inheritance Hierarchy

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: (
public abstract class DrawingCollection : IList, 
	ICollection, IEnumerable, IEnumerable<Drawing>

The DrawingCollection type exposes the following members.

Protected methodDrawingCollection
Initializes a new instance of the DrawingCollection class
Public propertyCount
Get the number of paper and partial drawings in the collection.
Public propertyItemInt32
Get the subdiagram at the specified index in the collection.
Public propertyItemString
We will retrieve a partial diagram with the specified name in the collection.
Public propertyPaperCount
Get the number of paper in the collection.
Public propertyPartCount
Get the number of subdiagrams in the collection.
Public methodAddPaper
Add a new form.
Public methodAddPart
We will add a new partial figure.
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 methodGetDrawingByID
We will retrieve a partial figure with the specified ID.
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 subdiagram.
Public methodIndexOfID
Returns the index in the collection of the subgraph of the specified ID.
Public methodIndexOfName
Returns the index in the collection of the specified subdiagram name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Delete the specified partial drawing.
Public methodRemoveAt
Delete the partial drawing with the specified index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also