GetFieldFlag

Form.GetFieldFlag method

Returns flags of the field.

public PropertyFlag GetFieldFlag(string fieldName)
Parameter Type Description
fieldName String Field name

Return Value

Property flag (ReadOnly/ Required/NoExport

Examples

Form form = new Form("PdfForm.pdf");
if (form.GetFieldFlag("textField") == PropertyFlag.ReadOnly)
{
   Console.WriteLine("Field is read-only");
}

See Also