Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

PdfDocumentProcessor.InsertNewPage(Int32, PdfRectangle) Method

Inserts a new page with a specified page number and page size into the document.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v19.1.dll

Declaration

public PdfPage InsertNewPage(
    int pageNumber,
    PdfRectangle mediaBox
)

Parameters

Name Type Description
pageNumber Int32

An integer value that is the number of a page that should be inserted into the document.

mediaBox PdfRectangle

A PdfRectangle object that is the actual page size.

Returns

Type Description
PdfPage

A PdfPage object that is the new inserted page.

See Also