PdfImageRenderInfo Class

Contains metadata about how and where an image was rendered on a PDF page. Exposes both the axis-aligned bounding box and the rotated four-corner outline, together with the page dimensions and the portion of the bounding box that remains visible inside the page

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
C#
public class PdfImageRenderInfo
Inheritance
Object    PdfImageRenderInfo

Properties

BoundingBox The axis-aligned bounding rectangle of the rendered image, or of its first part when the image continues on the next pages, in points and relative to the top left corner of the content area of the page in a document, of the page in an edited document or of the template. For rotated images this is the smallest axis-aligned rectangle that fully contains the rendered shape
LastPage The 1-based number of the last page where a part of the image was drawn. Equals Page when the image was drawn on one page
LastPageRectangle The last entry from RenderedRectangles: the part of the image drawn on the last page. The elements that follow the image go below the bottom of this rectangle, on its page
Page The 1-based page number where the image was rendered: the page of its first part when the image continues on the next pages, whose parts are listed by RenderedRectangles
PageHeight The height of the page on which the image was rendered, in points
PageWidth The width of the page on which the image was rendered, in points
QuadPoints The four corners of the rendered image as they appear after any rotation has been applied, in points and with the same origin as BoundingBox. The corners follow the original orientation of the image: TopLeft is the corner that was top-left before rotation, and so on. Use this property to draw connecting lines or annotations that follow the rotation of the image instead of an axis-aligned bounding box
RenderedRectangles The rectangles where the image was drawn, one entry per page. There is one entry, with the values of BoundingBox and QuadPoints, when the image was drawn on one page. When the image continues on the next pages (see ContinueOnNextPage), each entry gives the part of the image drawn on that page, in points and with the same origin as BoundingBox
VisibleBounds The intersection of BoundingBox with the page rectangle, in points and with the same origin as BoundingBox. Equals BoundingBox when the image fits entirely inside the page and is null when the image is fully outside the page area

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also