Click or drag to resize

PdfAnnotationIdentifier Constructor (String)

Initializes a new instance of the PdfAnnotationIdentifier class as a reference to a form field.

Namespace:  Atalasoft.PdfDoc.Actions
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public PdfAnnotationIdentifier(
	string fieldIdentifier


Type: SystemString
The field identifier which refers to the FieldName of a field defined in the Form object.
Given a PdfAnnotationIdentifier that refers to a field, the field could be found with the following code:
foreach (IFormElement elem in FormVisitor.BreadthFirst(doc.Form))
    if (elem.FieldName == annotIdentifier.FieldIdentifier)
        return elem; // found
See Also