PdfDocumentProcessor.CheckFormFieldNameCollisions(IEnumerable<PdfAcroFormField>) Method
Checks interactive form fields to find a collision in the form field names.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Docs.v23.2.dll
NuGet Package: DevExpress.Document.Processor
Declaration
public IList<PdfAcroFormFieldNameCollision> CheckFormFieldNameCollisions(
IEnumerable<PdfAcroFormField> fields
)
Parameters
Name | Type | Description |
---|---|---|
fields | IEnumerable<PdfAcroFormField> | A list of PdfAcroFormField objects containing interactive form fields that should be checked to find a collision in the form field names. |
Returns
Type | Description |
---|---|
IList<PdfAcroFormFieldNameCollision> | A collection of PdfAcroFormFieldNameCollision objects that contains information about a collision found in interactive form field names. |
Remarks
Form field names must be unique within an interactive form.
To obtain the interactive form field in which a collision was found with a field name, use the PdfAcroFormFieldNameCollision.Field property.
You can also get the forbidden field names using the PdfAcroFormFieldNameCollision.ForbiddenNames property.