How to get just the images that are contained in a region, without getting other ones that might be partially included?
Attached is a modified ElementEdit sample, and input file, that does this.
Further improvement you could do, is to crop the page to just the minimal bounding box, and then export to image.
page.SetCropBox(page.GetVisibleContentBox()); pdfdraw.Export(page, "out.png", "PNG");
ElementEditTest.cs (6.49 KB)