Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfDocument Class > PdfDocument Constructor > PdfDocument Constructor (Stream, PdfConfigurationOptions)
Opens an existing PDF document using specified configuration options.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfDocument(
	Stream stream,
	PdfConfigurationOptions options
)
VB
Public Sub New ( 
	stream As Stream,
	options As PdfConfigurationOptions
)

Parameters

stream
Type: System.IO.Stream
The stream from which the PDF document to be read.
options
Type: BitMiracle.Docotic.Pdf.PdfConfigurationOptions
The configuration options.

See Also