Gets the collection of page layouts used in the current document. In addition to the default layout which is always present, special layouts may be defined for first, last, even and odd pages of the document. The effective layout for each page is then produced by merging all applicable layouts.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

Examples

The following example uses the PageLayouts property to set the page footer for the document:

Copy CodeVisual Basic
C1PrintDocument1.PageLayouts.LastPage = New C1.C1Preview.PageLayout 
C1PrintDocument1.PageLayouts.LastPage.PageFooter = New C1.C1Preview.RenderText("Footer on last page")
C1PrintDocument1.Generate()
Copy CodeC#
C1PrintDocument1.PageLayouts.LastPage = new C1.C1Preview.PageLayout();
C1PrintDocument1.PageLayouts.LastPage.PageFooter = new C1.C1Preview.RenderText("Footer on last page");
C1PrintDocument1.Generate();

See Also