Click or drag to resize
Pdftools logo

DocumentOpenWithFdf Method

Open a PDF document together with an FDF file.

Documents opened with this method are read-only and cannot be modified.

Namespace: PdfTools.Toolbox.Pdf
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.4.0+02318d3e3f9645a1305b87026fb971a660079e54
Syntax
C#
public static Document OpenWithFdf(
	Stream pdfStream,
	Stream fdfStream,
	string password
)

Parameters

pdfStream  Stream

The stream where the PDF document is stored.

Read access is required.

fdfStream  Stream

The stream where the FDF file is stored.

Read access is required.

password  String
the password to open the PDF document

Return Value

Document
the newly created document instance
Exceptions
ExceptionCondition
PasswordExceptionif the file is encrypted and the password is not valid.
IOExceptionError reading from the stream.
CorruptExceptionif the file is corrupt or not a PDF.
UnsupportedFeatureExceptionif the file is a PDF collection.
UnsupportedFeatureExceptionif the PDF contains unrendered XFA fields.
ConformanceExceptionif the document's conformance level is not supported
ArgumentNullExceptionif pdfStream is .
ArgumentNullExceptionif fdfStream is .
See Also