# RhinoPageView class

Namespace: [Rhino.Display](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.display.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class RhinoPageView : RhinoView
```

A window that contains a single layout 'page'

## Properties

- [ActiveDetail](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/activedetail.md): Returns the active detail object. If no detail is active, or if the page is active, then null is returned.
- [ActiveDetailId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/activedetailid.md): Returns the id of the active detail. If no detail is active, or if the page is active, then Guid.Empty is returned.
- [ActiveViewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/activeviewport.md): Gets the active viewport. 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.
- [Description](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/description.md): Gets and sets a brief description of the page view.
- [PageHeight](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pageheight.md): Height of the page in the document's PageUnitSystem
- [PageIsActive](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pageisactive.md): Returns true if the page is active, rather than any detail view. This occurs when the MainViewport.Id == ActiveViewportID.
- [PageName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pagename.md): Same as the MainViewport.Name.
- [PageNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pagenumber.md): 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.
- [PageViewGroupCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pageviewgroupcount.md): Gets the number of page view groups this page view belongs to.
- [PageWidth](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pagewidth.md): Width of the page in the document's PageUnitSystem
- [PaperName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/papername.md): Returns the name of the layout's media, or paper (e.g. Letter, Legal, A1, etc.), used to determine the page width and page height.
- [PrinterName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/printername.md): Gets and sets the name of the layout's destination printer.

## Methods

- [AddDetailView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/adddetailview.md): Creates a detail view object that is displayed on this page and adds it to the document.
- [AddToPageViewGroup](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/addtopageviewgroup.md): Add this page view to a page view group.
- [Duplicate](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/duplicate.md): Copies a page view.
- [GetDetailViews](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/getdetailviews.md): Gets a list of the detail view objects associated with this layout.
- [GetPageViewGroupList](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/getpageviewgrouplist.md): Gets an array of page view group indices this page view belongs to.
- [GetPreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/getpreviewimage.md): Creates a preview image of the page.
- [IsInPageViewGroup](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/isinpageviewgroup.md): Determines if this page view belongs in a page view group.
- [PageViewGroupSortIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pageviewgroupsortindex.md): Gets this page view's sort index within a page view group. The sort index determines the order of the page view among the other members of the group, independent of the document page (view-table) order.
- [RemoveFromAllageViewGroups](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/removefromallageviewgroups.md): Removes this page view to all page view groups.
- [RemoveFromPageViewGroup](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/removefrompageviewgroup.md): Removes this page view to a page view group.
- [SetActiveDetail](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/setactivedetail.md): (2 overloads) Sets the active detail.
- [SetPageAsActive](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/setpageasactive.md): Deactivates the active details and sets the page view as active.
- [SetPageViewGroupSortIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/setpageviewgroupsortindex.md): Sets this page view's sort index (position) within a page view group, repositioning it among the group's members and renumbering the rest so the group stays contiguously ordered. A sort index at or beyond the member count moves the page view to the end. If the page view is not yet in the group, it is added.

## Events

- [PageViewPropertiesChange](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pageviewpropertieschange.md): (static)
- [PageViewSpaceChange](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinopageview/pageviewspacechange.md): (static)

## Inherited Members

- From [RhinoView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview.md): [ActiveViewportID](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/activeviewportid.md), [Bounds](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/bounds.md), [ClientRectangle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/clientrectangle.md), [DisplayPipeline](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/displaypipeline.md), [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/document.md), [Floating](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/floating.md), [Handle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/handle.md), [InDynamicViewChange](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/indynamicviewchange.md), [MainViewport](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/mainviewport.md), [Maximized](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/maximized.md), [RealtimeDisplayMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/realtimedisplaymode.md), [RuntimeSerialNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/runtimeserialnumber.md), [ScreenRectangle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/screenrectangle.md), [Size](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/size.md), [TitleVisible](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/titlevisible.md), [CaptureToBitmap](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/capturetobitmap.md), [ClientToScreen](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/clienttoscreen.md), [Close](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/close.md), [CreateShadedPreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/createshadedpreviewimage.md), [CreateWireframePreviewImage](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/createwireframepreviewimage.md), [Equals](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/equals.md), [GetHashCode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/gethashcode.md), [MouseCaptured](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/mousecaptured.md), [Redraw](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/redraw.md), [RedrawOverlays](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/redrawoverlays.md), [ScreenToClient](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/screentoclient.md), [ShowToast](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/showtoast.md), [SpeedTest](https://developer.rhino3d.com/api/rhinocommon/type/rhino.display.rhinoview/speedtest.md)
