Click or drag to resize

FDFDoc Class

FDFDoc is a class representing Forms Data Format (FDF) documents. FDF is typically used when submitting form data to a server, receiving the response, and incorporating it into the interactive form. It can also be used to export form data to stand-alone files that can be stored, transmitted electronically, and imported back into the corresponding PDF interactive form. In addition, beginning in PDF 1.3, FDF can be used to define a container for annotations that are separate from the PDF document to which they apply.
Inheritance Hierarchy
SystemObject
  pdftron.FDFFDFDoc

Namespace:  pdftron.FDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class FDFDoc : IClosable

The FDFDoc type exposes the following members.

Constructors
  NameDescription
Public methodFDFDoc
Creates an empty FDFDoc instance.
Public methodFDFDoc(Byte)
Creates a new FDF document from an array of bytes.
Public methodFDFDoc(String)
Creates a new FDF document from the specified full path of the file.
Public methodFDFDoc(IFilter)
Creates a new SDF document from an existing IFilter instance.
Public methodFDFDoc(SDFDoc)
Creates an FDF document from an existing SDF/Cos document.
Top
Methods
  NameDescription
Public methodClose
Public methodStatic memberCreateFromXFDFAsync(Byte)
Creates an FDF document from a byte array.
Public methodStatic memberCreateFromXFDFAsync(String)
Creates an FDF document from an existing XFDF file.
Public methodStatic memberCreateFromXFDFAsync(IBuffer)
Creates an FDF document from a buffer.
Public methodStatic memberCreateFromXFDFAsync(IFilter)
Creates an FDF document from an existing XFDF file.
Public methodDestroy
Closes this FDFDoc and releases associated resources.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFieldCreate(String, Int32)
Creates a new interactive form field.
Public methodFieldCreate(String, Int32, Obj)
Creates a new interactive form field.
Public methodFieldCreate(String, Int32, String)
Creates a new interactive form field.
Public methodGetFDF
Gets the FDF dictionary.
Public methodGetField
Gets the field with matching field name.
Public methodGetFieldIterator
Gets an iterator to traverse all fields in this FDF document.
Public methodGetFieldIterator(String)
Gets an iterator to traverse all fields in this FDF document.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetID
Gets the ID entry from "/Root/FDF" dictionary.
Public methodGetPdfFileName
Gets the PDF document file that this FDF file was exported from or is intended to be imported into.
Public methodGetRoot
Gets the root of this document.
Public methodGetSDFDoc
Gets the SDFDoc object in FDFDoc.
Public methodGetTrailer
Gets the trailer of this document.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsModified
Checks whether this FDFDoc was modified or not.
Public methodMergeAnnots(String)
Merges annotations into an FDF document with a given XML command file.
Public methodMergeAnnots(String, String)
Merges annotations into an FDF document with a given XML command file.
Public methodSaveAsXFDFAsync(String)
Saves the FDF document in XFDF format.
Public methodSaveAsXFDFAsync(IFilter)
Saves the FDF document in XFDF format.
Public methodSaveAsXFDFAsync(String, XFDFExportOptions)
Saves the FDF document in XFDF format.
Public methodSaveAsXFDFAsync(IFilter, XFDFExportOptions)
Saves the FDF document in XFDF format.
Public methodSaveAsXFDFString
Saves the FDF document into an XFDF string.
Public methodSaveAsXFDFString(XFDFExportOptions)
Saves the FDF document into an XFDF string.
Public methodSaveAsXFDFToBufferAsync
Saves the FDF document in XFDF format.
Public methodSaveAsXFDFToBufferAsync(XFDFExportOptions)
Saves the FDF document in XFDF format.
Public methodSaveAsync(String)
Saves all changes to the document and writes them to a file pointed by the given path.
Public methodSaveAsync(IFilter)
Saves all changes to the document and writes them to an output IFilter sink.
Public methodSaveToBufferAsync
Saves all changes to the document and writes them to a byte array.
Public methodSetID
Sets the ID entry in "/Root/FDF" dictionary.
Public methodSetPdfFileName
Sets the PDF document file that this FDF file was exported from or is intended to be imported into.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also