DeleteImage

DeleteImage(int, int[])

Deletes the specified images on the specified page.

public void DeleteImage(int pageNumber, int[] index)
Parameter Type Description
pageNumber Int32 The number of page on which images must be deleted.
index Int32[] An array repsents images’ indexes.

Examples

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.DeleteImage(1, new int[] {1, 2});
editor.Save("example_out.pdf");

See Also


DeleteImage()

Deletes all images from PDF document.

public void DeleteImage()

Examples

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
editor.DeleteImage();
editor.Save("example_out.pdf");

See Also