PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Jan 19, 2021 6:26 am

All times are UTC

Forum rules

Please read this before posting on this forum: Forum Rules

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Jun 10, 2020 7:29 pm 

Joined: Wed Jun 10, 2020 7:15 pm
Posts: 6
Is there a way to find all acrofields on a page and then delete one if it falls with some specified coordinates?

It doesn't appear you can use pdfPage to find fields. I guess they don't exist on the page but in AcroForms object.

So I need to traverse ACroForms and find each field? I'm not sure how to do that. Do I get each element then traverse that element looking for children until I find /Rect? If I knew the name of the field then I could search for it. But maybe I should get all field names then search each field name looking for elements? I just need to start by finding all AcroFields but I don't even know how to do that. Please help.

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: Google [Bot] and 18 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group