PdfDocument
LoadFromFile Method (String)
|
Initializes a new instance of the class.
Namespace:
Spire.Pdf
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void LoadFromFile(
string filename
)
Public Sub LoadFromFile (
filename As String
)
public:
void LoadFromFile(
String^ filename
)
member LoadFromFile :
filename : string -> unit
Parameters
-
filename
-
Type:
System
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.
See Also