FieldDataPageArea Property
Gets the value of the field.

Namespace: GroupDocs.Parser.Data
Assembly: GroupDocs.Parser (in GroupDocs.Parser.dll) Version: 21.2.0
public PageArea PageArea { get; }

Property Value

Type: PageArea
An instance of PageArea class that represents the value of the field.

Depending on field PageArea property can contain any of the inheritors of PageArea class. For example, ParseForm method extracts only text fields.

// Get the field data
FieldData field = data[i];
// Check if the field data contains a text
if(field.PageArea is PageTextArea)
    // Print the field text value
    Console.WriteLine((field.PageArea as PageTextArea).Text);
See Also