# PageSettings class

Namespace: [Rhino.DocObjects](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v8.36

```cs
public class PageSettings
```

The paper size and margins of a layout, in millimeters. Only meaningful for a view whose [ViewInfo.ViewType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewinfo/viewtype.md) is [ViewType.PageView](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.viewtype.md).

## Properties

- [BottomMarginMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/bottommarginmillimeters.md): Bottom margin in millimeters.
- [HeightMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/heightmillimeters.md): Paper height in millimeters.
- [LeftMarginMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/leftmarginmillimeters.md): Left margin in millimeters.
- [PageNumber](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/pagenumber.md): The page number of this layout.
- [PrinterName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/printername.md): Name of the printer this layout targets, if any.
- [RightMarginMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/rightmarginmillimeters.md): Right margin in millimeters.
- [TopMarginMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/topmarginmillimeters.md): Top margin in millimeters.
- [WidthMillimeters](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.pagesettings/widthmillimeters.md): Paper width in millimeters.
