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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PdfAnnotationIdentifier(
	string fieldIdentifier
)

Parameters

fieldIdentifier
Type: SystemString
The field identifier which refers to the FieldName of a field defined in the Form object.
Examples
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