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

PdfGraphics.AddToPageBackground(PdfPage) Method

Adds graphics to a PDF page background.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v19.1.Drawing.dll

Declaration

public void AddToPageBackground(
    PdfPage page
)

Parameters

Name Type Description
page PdfPage

A PdfPage object that is the page in the document where graphics are drawn (measured in points - 1/72 of an inch).

Remarks

The overloaded AddToPageBackground method automatically converts world coordinates to page coordinates. See Coordinate Systems to learn more.

Call the AddToPageBackground method to draw graphics as the background of the page. The default DPI is equal to 96.

To draw graphics as the foreground of the page content, call the PdfGraphics.AddToPageForeground method.

See Also