PdfDocument Constructor (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 PdfDocument(
string filename
)
Public Sub New (
filename As String
)
public:
PdfDocument(
String^ filename
)
new :
filename : string -> PdfDocument
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