Class XfdfReader
XfdfReader class
Class which peroformes reading of XFDF format.
public sealed class XfdfReader
Constructors
| Name | Description |
|---|
| XfdfReader() | The default constructor. |
Methods
| Name | Description |
|---|
| static GetElements(XmlReader) | Parses XFDF file and returns information as hashtable. |
| static ReadAnnotations(Stream, Document) | Import annotations from XFDF file and put them into document. |
| static ReadFields(Stream, Document) | Import field values from XFDF file. |
Examples
Document doc = new Document("example.pdf");
Stream xfdfStream = File.OpenRead("file.xfdf");
XfdfReader.ReadAnnotations(xfdfStream, doc);
xfdfStream.Close();
doc.Save("example_out.pdf");
See Also