NamedViewTable
All named views in a rhino document.
Inheritance Hierarchy
System.Object
Rhino.DocObjects.Tables.NamedViewTable
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class NamedViewTable : IEnumerable<ViewInfo>, IEnumerable
The NamedViewTable type exposes the following members.
Properties
Name
Description
Public Property
Count
Number of named views in the table.
Public Property
Document
Document that owns this table.
Public Property
Item
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.
Public Property
Selection
Returns the current selection in the Named Views panel. If more than one such panel is open, it will return the selection in the most recently opened panel.
Methods
Name
Description
Public Method
Add(ViewInfo)
Public Method
Code Example
Add(String, Guid)
Adds named view to document which is based on an existing viewport.
Public Method
Delete(Int32)
Remove named view from the document.
Public Method
Delete(String)
Remove named view from the document.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public Method
FindByName
Finds a named view.
Public Method
GetEnumerator
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
Rename(Int32, String)
Renames a named view.
Public Method
Rename(String, String)
Renames a named view.
Public Method
Restore(Int32, RhinoViewport)
Sets the MainViewport of a standard RhinoView to a named views settings
Public Method
Restore(Int32, RhinoView, Boolean)
Obsolete.
Public Method
Restore(Int32, RhinoViewport, Boolean)
Obsolete.
Public Method
RestoreAnimated(Int32, RhinoView, Boolean)
Obsolete.
Public Method
RestoreAnimated(Int32, RhinoViewport, Boolean)
Obsolete.
Public Method
RestoreAnimated(Int32, RhinoView, Boolean, Int32, Int32)
Obsolete.
Public Method
RestoreAnimated(Int32, RhinoViewport, Boolean, Int32, Int32)
Obsolete.
Public Method
RestoreAnimatedConstantSpeed
Public Method
RestoreAnimatedConstantTime
Public Method
RestoreWithAspectRatio
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)