The DocumentPageLayouts type exposes the following members.

Constructors

  Name Description
Public method DocumentPageLayouts
Initializes a new instance of the DocumentPageLayouts class.

Methods

  Name Description
Public method Clear
Clears the current DocumentPageLayouts object.

Properties

  Name Description
Public property Default
Gets or sets the default PageLayout for the current document. The effective page layout for each page is determined by merging this layout with all other applicable layouts. The effective layout can be accessed via the CurrentPageLayout property on the C1PrintDocument.
Public property EvenPages
Gets or sets the PageLayout used for even pages of the current document.
Public property FirstPage
Gets or sets the PageLayout used for the first page of the current document.
Public property Item
Gets the PageLayout of the specified PageLayoutKindEnum. Returns null if the specified kind of page layout has not been specified for the current DocumentPageLayouts.
Public property LastPage
Gets or sets the PageLayout used for the last page of the current document.
Public property OddPages
Gets or sets the PageLayout used for odd pages of the current document.
Public property Owner
Gets the C1PrintDocument object that owns the current DocumentPageLayouts object.
Public property PrintFooterOnFirstPage
Gets or sets a value indicating whether the page footer should print on the first page of the document. This property overrides other related properties when set to false. The default value is true.
Public property PrintFooterOnLastPage
Gets or sets a value indicating whether the page footer should print on the last page of the document. This property overrides other related properties when set to false. The default value is true.
Public property PrintHeaderOnFirstPage
Gets or sets a value indicating whether the page header should print on the first page of the document. This property overrides other related properties when set to false. The default value is true.
Public property PrintHeaderOnLastPage
Gets or sets a value indicating whether the page header should print on the last page of the document. This property overrides other related properties when set to false. The default value is true.
Public property SuppressEmptyLastPage
Gets or sets a value indicating whether to suppress adding an empty page at the end of the document if the last object contains a page break after itself. The default value is false.

See Also