PdfDocument Constructor(String)
Initializes a new instance of the
PdfDocument class from the specified file.
This constructor opens an existing PDF document in read-write mode.
Here is an example that shows how to to load PDF document from file:
Public Shared Function LoadPdfDocumentFromFile(filename As String) As Vintasoft.Imaging.Pdf.PdfDocument
Return New Vintasoft.Imaging.Pdf.PdfDocument(filename)
End Function
public static Vintasoft.Imaging.Pdf.PdfDocument LoadPdfDocumentFromFile(string filename)
{
return new Vintasoft.Imaging.Pdf.PdfDocument(filename);
}
Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5