Form.GetField

Form.GetField method

Gets the field’s value according to its field name.

public string GetField(string fieldName)
ParameterTypeDescription
fieldNameStringThe fully qualified field name.

Return Value

The field’s value.

Examples

Form form = new Form("PdfForm.pdf");
Console.WriteLine("Field value = " + form.GetField("Field1"));

See Also