Load a PDF document from a file.
Namespace: Spire.PdfViewer.FormsAssembly: 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 )
Public Sub LoadFromFile ( filePath As String )
public: void LoadFromFile( String^ filePath )
member LoadFromFile : filePath : string -> unit
Parameters
- filePath
- String
The path of the file that contains the PDF document.