Click or drag to resize

PdfPage Class

Represents a PDF document page
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.PdfDocumentElementsRenderer
    ExpertPdf.Anywhere.PdfDocumentPdfPage

Namespace: ExpertPdf.Anywhere.PdfDocument
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class PdfPage : ElementsRenderer

The PdfPage type exposes the following members.

Properties
 NameDescription
Public propertyClientRectangle Gets the drawable area of the renderer. The margins, document header and footer are excluded.
(Inherited from ElementsRenderer)
Public propertyCustomFooterTemplate Represents the custom footer template for the page. It will replace the document footer template on this page.
Public propertyCustomHeaderTemplate Represents the custom header template for the page. It will replace the document header template on this page.
Public propertyDocument The parent document of this collection
Public propertyMargins Gets the page margins in points.
Public propertyCode exampleObjectModel Gets the objects drawn on this page (text, images, paths, groups), to read and change them. Available for the pages of a loaded document.
Public propertyOrientation The PDF page orientation.
Public propertyPageIndex The page index in pages collection.
Public propertyPageSize Gets the PDF page size in points.
Public propertyRotationAngle The PDF page rotation angle.
Public propertyShowFooterTemplate Show footer on this page.
Public propertyShowHeaderTemplate Show header on this page.
Top
Methods
 NameDescription
Public methodAddElement Add a page element to the renderer
(Overrides ElementsRendererAddElement(PageElement))
Public methodAddElementAsync(PageElement) Adds a page element without blocking: the HTML and HTML-to-image elements start their render at once, and the element is placed after every element added before it to the same document, in the order they were added.
(Inherited from ElementsRenderer)
Public methodAddElementAsync(PageElement, CancellationToken) Adds a page element without blocking, with a token that cancels the addition.
(Inherited from ElementsRenderer)
Public methodMeasureString Measures the size of the specified string when rendered with the specified font.
(Inherited from ElementsRenderer)
Top
See Also