Namespace: Spire.Pdf
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public void LoadFromFile( string filename )
Public Sub LoadFromFile ( filename As String )
public: void LoadFromFile( String^ filename )
member LoadFromFile : filename : string -> unit
Parameters
- filename
- String
The path to source pdf file.
Remarks
This constructor imports an existing pdf file into the document object. It automatically populates the Pages collection with the pages of the given document.