 | DocumentOpen Method |
Open a PDF document.
Documents opened with this method are read-only and cannot be modified.
Namespace: PdfTools.PdfAssembly: PdfTools (in PdfTools.dll) Version: 1.8.0+c1110cafb37403de0188424e1c97e84e318ca892
Syntaxpublic static Document Open(
Stream stream,
string password = null
)
Parameters
- stream Stream
-
The stream from which the PDF is read.
- password String (Optional)
-
The password to open the PDF document.
If or empty, no password is used.
Return Value
Document
The newly created document instance
Exceptions
See Also