[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintDocument.NewPage

NewPage Method

NewPage(PageLayout, PageDirectionEnum)

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.

Declaration
public void NewPage(PageLayout pageLayout, PageDirectionEnum direction)
Parameters
Type Name Description
PageLayout pageLayout

Specifies a layout which will be used for all following pages.

PageDirectionEnum direction

Indicates which page must be added - vertical or horizontal.

NewPage(PageLayout)

Creates a new page and adds it to the document.

Declaration
public void NewPage(PageLayout pageLayout)
Parameters
Type Name Description
PageLayout pageLayout

Specifies a layout which will be used for all following pages.

NewPage()

Creates a new page and adds it to the document.

Declaration
public void NewPage()