PdfDocument Constructor (Stream, RepairOptions) |
Initializes a new instance of the
PdfDocument class, using the file specified by the supplied path
and decodes it with the supplied passwords and repair options.
Namespace:
Atalasoft.PdfDoc
Assembly:
Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public PdfDocument(
Stream stm,
RepairOptions repairOptions
)
Public Sub New (
stm As Stream,
repairOptions As RepairOptions
)
Parameters
- stm
- Type: System.IOStream
A non-null stream containing a PDF document.
- repairOptions
- Type: Atalasoft.PdfDoc.RepairRepairOptions
An object that specifies features for handling PDF document repair. This value may be null.
Exceptions Exception | Condition |
---|
IncorrectPasswordException |
If the password is incorrect or cannot be verified, the constructor will
throw a IncorrectPasswordException.
|
See Also