Click or drag to resize
NamedViewTable Class
All named views in a rhino document.
Inheritance Hierarchy
SystemObject
  Rhino.DocObjects.TablesNamedViewTable

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public sealed class NamedViewTable : IEnumerable<ViewInfo>, 
	IEnumerable

The NamedViewTable type exposes the following members.

Properties
  NameDescription
Public propertyCount
Number of named views in the table.
Public propertyDocument
Document that owns this table.
Public propertyItem
Conceptually, the named view table is an array of ViewInfo and their associated names. The indexing operator ([] in C#) can be used to get individual ViewInfo items.
Top
Methods
  NameDescription
Public methodAdd(ViewInfo)
Public methodCode exampleAdd(String, Guid)
Adds named view to document which is based on an existing viewport.
Public methodDelete(Int32)
Remove named view from the document.
Public methodDelete(String)
Remove named view from the document.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFindByName
Finds a named view.
Public methodGetEnumerator
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRestore(Int32, RhinoView, Boolean)
Sets the MainViewport of a standard RhinoView to a named views settings
Public methodRestore(Int32, RhinoViewport, Boolean)
Public methodRestoreAnimated(Int32, RhinoView, Boolean)
Public methodRestoreAnimated(Int32, RhinoViewport, Boolean)
Public methodRestoreAnimated(Int32, RhinoView, Boolean, Int32, Int32)
Public methodRestoreAnimated(Int32, RhinoViewport, Boolean, Int32, Int32)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also