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: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfImageRenderInfo
Inheritance
Object    PdfImageRenderInfo

Properties

BoundingBox The axis-aligned bounding rectangle of the rendered image, expressed in points and relative to the top-left corner of the page. For rotated images this is the smallest axis-aligned rectangle that fully contains the rendered shape
Page The 1-based page number where the image was rendered
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, expressed in points and relative to the top-left corner of the page. 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
VisibleBounds The intersection of BoundingBox with the page rectangle, in points and relative to the top-left corner of the page. 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