Loop through all page elements and check for tags

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF CoreSuite for .NET (v11)  /  Loop through all page elements and check for tags

DynamicPDF CoreSuite for .NET (v11) Forum

Hello,

I thaught it would be easy, but I can't find any solution to loop through all page elements and check if there is a tag for the element.

my code only shows result 0 for page.elemnts but there ist text and picture in my test-file.

Can anybody help?

I think it's only a few lines of code.

open an existing pdf, loop through all elemnts on all pages, check if there's a tag for the element.

Thanks for helping.
Jens
Posted by a ceTe Software moderator
Hi,

You can only get a list of form fields from an existing PDF. Please refer to the example on reading form fields on GitHub here.

There is no option available in the DynamicPDF Core Suite product to get a list of page elements from an existing PDF.

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 8:43 AM.