.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.v21.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