DocumentOpen Method |
Open a PDF document.
Documents opened with this method are read-only and cannot be modified.public static Document Open( Stream stream, string password = null )
Exception | Condition |
---|---|
LicenseException | The license check has failed. |
PasswordException | The document is encrypted and the password is invalid. |
CorruptException | The document is corrupt or not a PDF. |
UnsupportedFeatureException | The document is an unencrypted wrapper document. |
GenericException | A generic error occurred. |
ArgumentNullException | if stream is . |