Class FdfReader
- Namespace
- iTextSharp.text.pdf
- Assembly
- iTextSharp.LGPLv2.Core.dll
Reads an FDF form and makes the fields available @author Paulo Soares (psoares@consiste.pt)
public class FdfReader : PdfReader, IPdfViewerPreferences, IDisposable
- Inheritance
-
FdfReader
- Implements
- Inherited Members
Constructors
FdfReader(byte[])
Reads an FDF form. @throws IOException on error
public FdfReader(byte[] pdfIn)
Parameters
pdfIn
byte[]the byte array with the form
FdfReader(Stream)
Reads an FDF form. end but is not closed @throws IOException on error
public FdfReader(Stream isp)
Parameters
isp
Streamthe InputStream containing the document. The stream is read to the
FdfReader(string)
Reads an FDF form. @throws IOException on error
public FdfReader(string filename)
Parameters
filename
stringthe file name of the form
FdfReader(Uri)
Reads an FDF form. @throws IOException on error
public FdfReader(Uri url)
Parameters
url
Urithe URL of the document
Properties
Fields
Gets all the fields. The map is keyed by the fully qualified field name and the value is a merged PdfDictionary with the field content.
public INullValueDictionary<string, PdfDictionary> Fields { get; }
Property Value
- INullValueDictionary<string, PdfDictionary>
all the fields
FileSpec
Gets the PDF file specification contained in the FDF.
public string FileSpec { get; }
Property Value
- string
the PDF file specification contained in the FDF
Methods
GetField(string)
Gets the field dictionary.
public PdfDictionary GetField(string name)
Parameters
name
stringthe fully qualified field name
Returns
- PdfDictionary
the field dictionary
GetFieldValue(string)
Gets the field value or null if the field does not exist or has no value defined.
public string GetFieldValue(string name)
Parameters
name
stringthe fully qualified field name
Returns
- string
the field value or null
KidNode(PdfDictionary, string)
protected virtual void KidNode(PdfDictionary merged, string name)
Parameters
merged
PdfDictionaryname
string
ReadFields()
protected virtual void ReadFields()
ReadPdf()
protected override void ReadPdf()