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.
Remarks
The
stream must be a stream that supports reading and seeking.
Otherwise, the constructor throws an exception of
PdfException type.
See Also