ComHelperOpenFile Method (String, String, Boolean)
Initialize new instance of the Document class for working with encrypted document.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public Document OpenFile(
	string filename,
	string password,
	bool isManagedStream
)

Parameters

filename
Type: SystemString
Document file name.
password
Type: SystemString
User or owner password.
isManagedStream
Type: SystemBoolean
if set to true inner stream is closed before exit; otherwise, is not.

Return Value

Type: Document
Document object
See Also