PdfEditorAddImage Method
Adds an image element to a page of the document, at the position given by the element relative to the top
left corner of the page. When the
ContinueOnNextPage property of the element
is true, an image taller than the space left on the page continues on the following pages of the document,
or on pages inserted after the given page when
InsertContinuationPages is
true, between the
ContinuationTopMargin and
ContinuationBottomMargin margins of the pages
Namespace: Winnovative.Pdf.NextAssembly: Winnovative.Pdf.Next (in Winnovative.Pdf.Next.dll) Version: 21.0.3
public PdfImageRenderInfo AddImage(
int pageNumber,
PdfImageElement imageElement
)
- pageNumber Int32
- The 1-based number of the page where the image starts
- imageElement PdfImageElement
- The image element to be rendered
PdfImageRenderInfo
A PdfImageRenderInfo object describing the pages and the areas where the image was drawn
| Exception |
Thrown if the image cannot be added to the PDF document
|