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.FourHeights.PdfToolbox.Pdf
Assembly: PdfTools.FourHeights.PdfToolbox (in PdfTools.FourHeights.PdfToolbox.dll) Version: 1.0.0
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