PdfDocumentAddImage Method

Adds an image element to the current PDF page. Supports byte array or file path images, scaling and alignment

Definition

Namespace: Winnovative.Pdf.Chromium
Assembly: Winnovative.Pdf.Chromium (in Winnovative.Pdf.Chromium.dll) Version: 19.5.0
C#
public PdfImageRenderInfo AddImage(
	PdfImageElement imageElement
)

Parameters

imageElement  PdfImageElement
The image element to be rendered

Return Value

PdfImageRenderInfo
A PdfImageRenderInfo object containing page number and position of the rendered image

Exceptions

Exception Thrown if the image cannot be added to the PDF document

See Also