Load a PDF document from a file.

Namespace: Spire.PdfViewer.Forms
Assembly: Spire.PdfViewer.Forms (in Spire.PdfViewer.Forms.dll) Version: 6.6.0.0 (6.6.0.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void LoadFromFile(
	string filePath,
	string password
)
Public Sub LoadFromFile ( 
	filePath As String,
	password As String
)
public:
void LoadFromFile(
	String^ filePath, 
	String^ password
)
member LoadFromFile : 
        filePath : string * 
        password : string -> unit 

Parameters

filePath
String
file path
password
String
password

See Also