ComHelperOpenStream Method (Stream, String)
Initialize and return new Document instance from the input stream.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public Document OpenStream(
	Stream input,
	string password
)

Parameters

input
Type: System.IOStream
Input stream object, corresponding pdf is password protected.
password
Type: SystemString
User or owner password.

Return Value

Type: Document
Document object
See Also