PageArea

FieldData.PageArea property

Gets the value of the field.

public PageArea PageArea { get; }

Property Value

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

Examples

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.Text);
}

See Also