Creates a new page and adds it to the document.
Note that AllowNonReflowableDocs property on the document must be set to true
for this method to work; otherwise, an exception will occur.
Namespace:
C1.C1PreviewAssembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public void NewPage( PageLayout pageLayout, PageDirectionEnum direction ) |
Visual Basic |
---|
Public Sub NewPage ( _ pageLayout As PageLayout, _ direction As PageDirectionEnum _ ) |
Parameters
- pageLayout
- Type: C1.C1Preview..::..PageLayout
Specifies a layout which will be used for all following pages.
- direction
- Type: C1.C1Preview..::..PageDirectionEnum
Indicates which page must be added - vertical or horizontal.