Opens the document.
Namespace: PdfViewerNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax
public PdfOpenFileStatus OpenDocument( byte[] pdfContent, string password = "", bool showPasswordForm = true, bool showStatusMessage = true )
Parameters
- pdfContent
- Type: SystemByte
Content of the PDF. - password (Optional)
- Type: SystemString
The password. - showPasswordForm (Optional)
- Type: SystemBoolean
if true and password is required it will show form to enter password - showStatusMessage (Optional)
- Type: SystemBoolean
if true and document wasn't loaded correctly it will display error status message
Return Value
Type: PdfOpenFileStatusStatus of file open.
See Also