Essential PDF Windows Forms
Finding form fields of a specific page
January 27, 2012 07:54 AM by George Livingston [Syncfusion]
Guido Schrage
Finding form fields of a specific page
January 24, 2012 02:16 AM
Hi everybody,

I want to get the form fields placed on a specific page. But only the PdfDocument class has the Form.Fields collection I have to loop through comparing the PdfField.Page property with another PdfPage object to get to know on which page the PdfField is placed.

I need something like that:

foreach (PdfField field in pdfPage.Form.Fields)
{
...
}

At the moment I have to loop through the whole PdfDocument to find fields of a specific (2nd) page:

foreach (PdfField field in pdfDocument.Form.Fields)
{
if (pdfDocument.Pages.IndexOf(field.Page) == 1)
break;
}

Regards

George Livingston
[Syncfusion]
Finding form fields of a specific page
January 27, 2012 07:54 AM
Hi Guido,

Thank you for using Syncfusion products.

Currently we do not have support to get the form field for the specific page. However we have added a feature request for this implementation. We will let you know once the feature has been implemented. For further follow can you please create a Direct-Trac incident.

Please let us know if you have any questions.

Regards,
George


::adCenter::