logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
jacksonsavitraz Posted: Friday, November 25, 2016 1:58:41 AM(UTC)
 
I need to know if a same PdfImageObject is rendering in more than one page, but object has not an unique ID. Is it possible?

We need to highlight all images in the page that has rendered more than once (same page or others).
Actually we are using AbcPDF that has Renditions property with BoundBox for each rendition:

Code:

using (Doc doc = new Doc()) {
    doc.Read("d:\\test.pdf");
    var op = new ImageOperation(doc);
    op.PageContents.AddPages();
    foreach (ImageProperties image in op.GetImageProperties()) 
    {
        if (image.Renditions.Count > 1) 
        {
            FOUND IN MORE THAN ONE PLACE
        }
    }
}

How can i do the same with Pdfium.NET?