Skip to content

PdfPageRenderer Class

Definition

Namespace: Xfinium.Pdf.Rendering

Defines a renderer for a PDF page.

C#
public class PdfPageRenderer : Object

Inheritance: Object → PdfPageRenderer

Constructor

Name Description
PdfPageRenderer(PdfPage) Initializes a new PdfPageRenderer object.

Properties

Name Description
GraphicRenderer Gets or sets the graphic renderer.
RenderingErrors Gets the errors that appeared during rendering.

Methods

Name Description
ConvertPageToImage Converts the PDF page to an image.
ConvertPageToRenderList Coverts the page to a render list.
ConvertRenderListToImage Converts the render list to an image.
CreateRenderingSurface Creates a rendering surface fit for rendering the current page.
GetImageBoxForVisual Gets the size in pixels of the page when converted to image at the specified resolution.
GetPageImageBox Gets the size in pixels of the page when converted to image at the specified resolution.
GetPageImageSize Gets the size in pixels of the page when converted to image at the specified resolution.
StopPageToRenderListConversion Stops the conversion of page content to render list launched by the ConvertPageToRenderList method.