Click or drag to resize

LayoutCollection Class

Represents a collection of layouts.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCADLayoutCollection

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax
public abstract class LayoutCollection : IList, 
	ICollection, IEnumerable, IEnumerable<Layout>

The LayoutCollection type exposes the following members.

Constructors
  NameDescription
Protected methodLayoutCollection
Initializes a new instance of the LayoutCollection class
Top
Properties
  NameDescription
Public propertyCount
Get the number of layouts in the collection.
Public propertyDrawing
Get the partial figure of the parent.
Public propertyItemInt32
Get the layout at the specified index in the collection.
Public propertyItemString
Get the layout with the specified name in the collection.
Top
Methods
  NameDescription
Public methodAdd
Add a new layout on the form.
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 layout.
Public methodIndexOfID
Returns the index in the collection of the layout with the specified ID.
Public methodIndexOfName
Returns the index in the collection of the specified layout name.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Delete the specified layout.
Public methodRemoveAt
Deletes the layout of the specified index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also