Note: This API is now obsolete.
Replaces the contents of this
PdfDocument with contents
read from specified stream with PDF data.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
[ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Please use one of the constructors instead.")]
public void Open(
Stream stream,
string password
)
VB
<ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Please use one of the constructors instead.")>
Public Sub Open (
stream As Stream,
password As String
)
Parameters
- stream
- Type: System.IO.Stream
The stream to read PDF data from. - password
- Type: System.String
The user or owner password that unlocks
the PDF data read from stream.
Remarks
The
stream must be a stream that supports reading and
seeking. Otherwise, the method throws an exception of
PdfException type.
See Also