Class PageSetup
- Namespace
- ReportWright.Design
- Assembly
- ReportWright.Design.dll
Page setup (size, orientation, margins, columns) and the body height, each edit one undo entry.
public sealed class PageSetup
- Inheritance
-
PageSetup
- Inherited Members
Constructors
- PageSetup(DesignerDocument)
Initializes the page setup over a document.
Properties
- BodyHeight
Gets the body height in twips.
- BottomMargin
Gets the bottom margin in twips.
- ColumnSpacing
Gets the column spacing in twips (0.5 in by default).
- Columns
Gets the number of columns (1 by default).
- IsLandscape
Gets whether the page is wider than tall.
- LeftMargin
Gets the left margin in twips.
- PageHeight
Gets the page height in twips (11 in by default).
- PageWidth
Gets the page width in twips (8.5 in by default).
- RightMargin
Gets the right margin in twips.
- TopMargin
Gets the top margin in twips.
- UsableWidth
Gets the width available to the body: the page less its side margins.
Methods
- AddBand(BandKind, int)
Adds a page header or footer band, as one entry; does nothing when present.
- RemoveBand(BandKind)
Removes a page header or footer band with its items, as one entry.
- SetBodySize(int, int)
Sets the body width (the section's) and height, as one entry.
- SetColumns(int, int)
Sets the columns, as one entry.
- SetMargins(int, int, int, int)
Sets the margins, as one entry.
- SetPageSize(int, int)
Sets the page size, as one entry.
- ToggleOrientation()
Swaps width and height.