PdfDocumentAddImage Method
Adds an image element to the current PDF page.
Supports byte array or file path images, scaling and alignment
Namespace: Winnovative.Pdf.ChromiumAssembly: Winnovative.Pdf.Chromium (in Winnovative.Pdf.Chromium.dll) Version: 19.5.0
public PdfImageRenderInfo AddImage(
PdfImageElement imageElement
)
- imageElement PdfImageElement
- The image element to be rendered
PdfImageRenderInfo
A PdfImageRenderInfo object containing page number and position of the rendered image
Exception |
Thrown if the image cannot be added to the PDF document
|