PdfTemplateAddImage Method

Adds an image element to the PDF template. Supports byte array or file path images, scaling and alignment. The image is rendered into the template coordinate space; the returned bounding box is relative to the template, not to any page where the template is later placed

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public PdfImageRenderInfo AddImage(
	PdfImageElement imageElement
)

Parameters

imageElement  PdfImageElement
The image element to be rendered into the template

Return Value

PdfImageRenderInfo
A PdfImageRenderInfo object describing the rendered image inside the template coordinate space

See Also