Click or drag to resize
RhinoPageView Properties

The RhinoPageView type exposes the following members.

Properties
  NameDescription
Public propertyActiveViewport
The ActiveViewport is the same as the MainViewport for standard RhinoViews. In a RhinoPageView, the active viewport may be the RhinoViewport of a child detail object. Most of the time, you will use ActiveViewport unless you explicitly need to work with the main viewport.
(Overrides RhinoViewActiveViewport.)
Public propertyActiveViewportID
Returns viewport ID for the active viewport. Faster than ActiveViewport function when working with page views.
(Overrides RhinoViewActiveViewportID.)
Public propertyBounds
Gets or sets the size and location of the view including its nonclient elements, in pixels, relative to the parent control.
(Inherited from RhinoView.)
Public propertyClientRectangle
Gets the rectangle that represents the client area of the view.
(Inherited from RhinoView.)
Public propertyDocument (Inherited from RhinoView.)
Public propertyFloating
Floating state of RhinoView. if true, then the view will be in a floating frame window. Otherwise the view will be embeded in the main frame.
(Inherited from RhinoView.)
Public propertyHandle
Gets the window handle that this view is bound to.
(Inherited from RhinoView.)
Public propertyMainViewport
A RhinoView contains a "main viewport" that fills the entire view client window. RhinoPageViews may also contain nested child RhinoViewports for implementing detail viewports. The MainViewport will always return this RhinoView's m_vp.
(Inherited from RhinoView.)
Public propertyMaximized (Inherited from RhinoView.)
Public propertyPageHeight
Height of the page in the document's PageUnitSystem
Public propertyCode examplePageIsActive
true if the page is active instead of any detail views. This occurs when the MainViewport.Id == ActiveViewportID.
Public propertyCode examplePageName
Same as the MainViewport.Name.
Public propertyPageNumber
Gets or sets the runtime page number and updates the page number for all of the other pages. The first page has a value of 0
Public propertyPageWidth
Width of the page in the document's PageUnitSystem
Public propertyScreenRectangle
Gets the rectangle that represents the client area of the view in screen coordinates.
(Inherited from RhinoView.)
Public propertyTitleVisible
Visibility of the viewport title window.
(Inherited from RhinoView.)
Top
See Also