.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

PdfDocumentProcessor.AddNewPage(PdfRectangle) Method

Adds an empty page with the specified page size to the current document.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Docs.v19.2.dll

Declaration

public PdfPage AddNewPage(
    PdfRectangle mediaBox
)
Public Function AddNewPage(
    mediaBox As PdfRectangle
) As PdfPage
public PdfPage AddNewPage(
    PdfRectangle mediaBox
)
Public Function AddNewPage(
    mediaBox As PdfRectangle
) As PdfPage
public PdfPage AddNewPage(
    PdfRectangle mediaBox
)
Public Function AddNewPage(
    mediaBox As PdfRectangle
) As PdfPage

Parameters

Name Type Description
mediaBox PdfRectangle

A PdfRectangle object that is the actual page size.

Parameters

Name Type Description
mediaBox PdfRectangle

A PdfRectangle object that is the actual page size.

Parameters

Name Type Description
mediaBox PdfRectangle

A PdfRectangle object that is the actual page size.

Returns

Type Description
PdfPage

A PdfPage object that is the added page.

Returns

Type Description
PdfPage

A PdfPage object that is the added page.

Returns

Type Description
PdfPage

A PdfPage object that is the added page.

Remarks

The AddNewPage method creates an empty page. Use the PdfDocumentProcessor.RenderNewPage method to create a new page with provided graphics.

See Also