DocumentData
Contents
[
Hide
]
DocumentData class
Represents data of the document. It consists of FieldData objects which contain field data from document.
public class DocumentData : IEnumerable<FieldData>
Constructors
| Name | Description |
|---|---|
| DocumentData(IEnumerable<FieldData>) | Initializes a new instance of the DocumentData class. |
| DocumentData(Template, IEnumerable<FieldData>) | Initializes a new instance of the DocumentData class. |
Properties
| Name | Description |
|---|---|
| Count { get; } | Gets the total number of the fields data. |
| Item { get; } | Gets the field data by an index. |
| Template { get; } | Gets the template. |
Methods
| Name | Description |
|---|---|
| GetEnumerator() | Returns an enumerator for the fields data. |
| GetFieldsByName(string) | Returns the collection of field data where the name is equal to fieldName. |
Remarks
An instance of DocumentData class is used as return value of ParseByTemplate and ParseForm methods. See the usage examples there.
See Also
- class FieldData
- namespace GroupDocs.Parser.Data
- assembly GroupDocs.Parser