PdfViewerOpenDocument Method (String, String, Boolean, Boolean)Terminal Works - PDF Printing.Net Library
Opens the document.

Namespace: PdfViewerNet
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.2.1.0 (5.2.1.0)
Syntax

public PdfOpenFileStatus OpenDocument(
	string fileName,
	string password = "",
	bool showPasswordForm = true,
	bool showStatusMessage = true
)

Parameters

fileName
Type: SystemString
Name of the file.
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: PdfOpenFileStatus
Status of file open.
See Also

Reference