Skip to main content

PdfPage

PdfPage

PdfPage represents one page in the document flow. Use it to add content in order without manually coordinating the document’s page collection.

Common operations​

MemberPurpose
Pages.Add()Creates and opens a page scope.
WithPageSize(...)Configures the page or document size.
ContentOpens the page content scope.
End()Returns to the parent document scope.
PdfDocument.Create()
.Pages.Add()
.Content.AddText("Page one")
.End()
.End();

Content that exceeds the available page area can continue through the document flow according to the element and layout rules being used.