Skip to main content
.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.v23.1.dll


public PdfPage InsertNewPage(
    int pageNumber,
    PdfRectangle mediaBox


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.


Type Description

A PdfPage object that is the new inserted page.

See Also