ComHelperOpenStream Method (Stream, String) |
Initialize and return new Document instance from the input stream.
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic Document OpenStream(
Stream input,
string password
)
Public Function OpenStream (
input As Stream,
password As String
) As Document
public:
Document^ OpenStream(
Stream^ input,
String^ password
)
member OpenStream :
input : Stream *
password : string -> Document
Parameters
- input
- Type: System.IOStream
Input stream object, corresponding pdf is password protected. - password
- Type: SystemString
User or owner password.
Return Value
Type:
DocumentDocument object
See Also