XfdfReader Class
Class which peroformes reading of XFDF format.
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.AnnotationsXfdfReader

Namespace: Aspose.Pdf.Annotations
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public sealed class XfdfReader

The XfdfReader type exposes the following members.

Constructors
  NameDescription
Public methodXfdfReader
Initializes a new instance of the XfdfReader class
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodStatic memberGetElements
Parses XFDF file and returns information as hashtable.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberReadAnnotations
Import annotations from XFDF file and put them into document.
Public methodStatic memberReadFields
Import field values from XFDF file.
Public methodToString (Inherited from Object.)
Examples
C#
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