[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.GcPdfDocument.ImportFormDataFromCollection

ImportFormDataFromCollection Method

ImportFormDataFromCollection(KeyValuePair<string, IList<string>>[])

Imports the document's form data from a key/value collection.

The keys are field names, the values are collections of field values.

For nested fields, the field's name should include all its parents' names delimited by dots, e.g. TopParent.Parent.MyField.

This method may be especially useful when importing form data submitted by a web page.

Declaration
public void ImportFormDataFromCollection(KeyValuePair<string, IList<string>>[] fieldValues)
Public Sub ImportFormDataFromCollection(fieldValues As KeyValuePair(Of String, IList(Of String))())
Parameters
Type Name Description
KeyValuePair<string, IList<string>>[] fieldValues

The collection of field names and their values.

ImportFormDataFromCollection(KeyValuePair<IList<string>, IList<string>>[])

Imports the document's form data from a key/value collection.

The keys are collections of strings representing fully qualified field names including all parents if they exist, from the top parent to the field itself, e.g. new string[] { "TopParent", "Parent", "MyField" }.

The values are collections of field values.

This method may be especially useful when importing form data submitted by a web page.

Declaration
public void ImportFormDataFromCollection(KeyValuePair<IList<string>, IList<string>>[] fieldValues)
Public Sub ImportFormDataFromCollection(fieldValues As KeyValuePair(Of IList(Of String), IList(Of String))())
Parameters
Type Name Description
KeyValuePair<IList<string>, IList<string>>[] fieldValues

The collection of field names and their values.