ViewTable
Inheritance Hierarchy
System.Object
Rhino.DocObjects.Tables.ViewTable
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class ViewTable : IEnumerable<RhinoView>, IEnumerable
The ViewTable type exposes the following members.
Properties
Name
Description
Public Property
Code Example
ActiveView
Gets or Sets the active view.
Public Property
Document
Document that owns this object table.
Public Property
ModelSpaceIsActive
Public Property
RedrawEnabled
Returns or sets (enable or disables) screen redrawing.
Methods
Name
Description
Public Method
Add
Constructs a new Rhino view and, at the same time, adds it to the list.
Public Method
AddPageView(String)
Constructs a new page view with a given title and, at the same time, adds it to the list.
Public Method
Code Example
AddPageView(String, Double, Double)
Constructs a new page view with a given title and size and, at the same time, adds it to the list.
Public Method
DefaultViewLayout
Public Method
EnableCameraIcon
Use to turn camera icon on and off
Public Method
EnableRedraw
Enables or disables screen redrawing.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public Method
Find(Guid)
Finds a view in this document with a given main viewport Id.
Public Method
Find(String, Boolean)
Finds a view in this document with a main viewport that has a given name. Note that there may be multiple views in this document that have the same name. This function only returns the first view found. If you want to find all the views with a given name, use the GetViewList function and iterate through the views.
Public Method
FlashObjects
Cause objects selection state to change momentarily so the object appears to flash on the screen.
Public Method
FourViewLayout
Public Method
GetEnumerator
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
Code Example
GetPageViews
Gets all page views in the document.
Public Method
GetStandardRhinoViews
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
GetViewList(ViewTypeFilter)
Gets an array of all the views.
Public Method
GetViewList(Boolean, Boolean)
Obsolete.
Gets an array of all the views.
Public Method
IsCameraIconVisible
Determine if a camera icon is being shown
Public Method
Code Example
Redraw
Redraws all views.
Public Method
ThreeViewLayout
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)