Click or drag to resize

PageViewGroupTable Class

PageView group table
Inheritance Hierarchy
SystemObject
  Rhino.FileIOCommonComponentTablePageViewGroup
    Rhino.DocObjects.TablesRhinoDocCommonTablePageViewGroup
      Rhino.DocObjects.TablesPageViewGroupTable

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public sealed class PageViewGroupTable : RhinoDocCommonTable<PageViewGroup>, 
	ICollection<PageViewGroup>, IEnumerable<PageViewGroup>, IEnumerable

The PageViewGroupTable type exposes the following members.

Properties
  NameDescription
Public propertyActiveCount
Returns number of page view groups in the table, excluding deleted page view groups.
Public propertyComponentType (Overrides CommonComponentTableTComponentType.)
Public propertyCount
Returns number of page view groups in the table, including deleted page view groups.
(Overrides CommonComponentTableTCount.)
Public propertyDocument
Document that owns this table.
Public propertyItem
Conceptually, the page view group table is an array of page view groups. The operator[] can be used to get individual page view group. A page view group is either active or deleted and this state is reported by PageViewGroup.IsDeleted.
Top
Methods
  NameDescription
Public methodAdd
Adds a new page view group to the table. The new page view group will be given a unique name.
Public methodAdd(IEnumerableRhinoPageView)
Adds a new page view group to the table, and adds page views to the group. The new page view group will be given a unique name.
Public methodAdd(PageViewGroup)
Adds a new page view group to the table.
Public methodAdd(PageViewGroup, IEnumerableRhinoPageView)
Adds a new page view group to the table, and adds page views to the group.
Public methodClear
Marks all items as deleted.
(Inherited from CommonComponentTableT.)
Public methodDelete(PageViewGroup)
Deletes a page view group.
(Overrides CommonComponentTableTDelete(T).)
Public methodDelete(Guid, Boolean)
Deletes a page view group.
Public methodDelete(Int32, Boolean)
Deletes a page view group.
Public methodDelete(PageViewGroup, Boolean)
Deletes a page view group.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/opening operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.)
Public methodFindIndex
Finds a page view group given its index.
Public methodFindName
Finds a page view group given its name.
Public methodFindNameHash
Finds a page view group given its name hash.
Public methodGetEnumerator (Overrides CommonComponentTableTGetEnumerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetSorted
Gets an array of page view group indices that are sorted by the values of SortIndex.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnusedName
Gets an unused page view group name.
Public methodGetUnusedName(String)
Gets an unused page view group name.
Public methodModify(PageViewGroup, Guid, Boolean)
Modifies a page view group.
Public methodModify(PageViewGroup, Int32, Boolean)
Modifies a page view group.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUndelete(Guid)
Undeletes a page view group that has been deleted.
Public methodUndelete(Int32)
Undeletes a page view group that has been deleted.
Public methodUndoModify(Guid)
If the page view group has been modified and the modification can be undone, then this will restore the page view group to its previous state.
Public methodUndoModify(Int32)
If the page view group has been modified and the modification can be undone, then this will restore the page view group to its previous state.
Public methodUndoModify(Guid, UInt32)
If the page view group has been modified and the modification can be undone, then this will restore the page view group to its previous state.
Public methodUndoModify(Int32, UInt32)
If the page view group has been modified and the modification can be undone, then this will restore the page view group to its previous state.
Top
See Also