Click or drag to resize

DrawingCollection Class

Represents a collection of partial drawings.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADDrawingCollection

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 DrawingCollection : IList, 
	ICollection, IEnumerable, IEnumerable<Drawing>

The DrawingCollection type exposes the following members.

Constructors
  NameDescription
Protected methodDrawingCollection
Initializes a new instance of the DrawingCollection class
Top
Properties
  NameDescription
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.
Top
Methods
  NameDescription
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 methodOrderBy
Sort the drawings according to the order of the specified names.
Public methodRemove
Delete the specified drawing.
Public methodRemoveAt
Delete the drawing with the specified index.
Public methodRemoveByName
Delete the drawing with the specified name.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also