ComHelperOpenFile Method (String, String, Boolean) |
Initialize new instance of the
Document class for working with encrypted document.
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic Document OpenFile(
string filename,
string password,
bool isManagedStream
)
Public Function OpenFile (
filename As String,
password As String,
isManagedStream As Boolean
) As Document
public:
Document^ OpenFile(
String^ filename,
String^ password,
bool isManagedStream
)
member OpenFile :
filename : string *
password : string *
isManagedStream : bool -> Document
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:
DocumentDocument object
See Also