Rank: Member
Groups: Registered
Joined: 12/27/2016(UTC) Posts: 10 
|
Hi
I need the page number(s) for interactive fields in PdfForms.Interform.Controls[]. Is there a Dictionary/collection which links a PdfField to a PdfPage?
Thanks D
|
|
|
|
|
|
Rank: Member
Groups: Registered
Joined: 12/27/2016(UTC) Posts: 10 
|
Nevermind. Code:_forms = new PdfForms();
_document = PdfDocument.Load(filename, _forms);
for (int i = 0; i < _document.Pages.Count; i++)
{
var controls = _forms.InterForm.GetPageControls(_document.Pages[i]);
foreach (var control in controls)
{
PageNumber = i+1 (zero based)
}
}
Edited by moderator Thursday, February 21, 2019 10:07:43 PM(UTC)
| Reason: Not specified
|
|
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close