PdfDocumentAddImage Method
Adds an image element to the current PDF page.
Supports byte array or file path images, scaling and alignment. When the
ContinueOnNextPage property of the element is true, an image taller than the
space left on the page continues on new pages, inside the margins of the document, and the current page
becomes the last page of the image
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
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
|