Parameters
- filename
- File name of the PDF document.
- fileMode
- A FileMode constant that determines how to open or create the PDF document.
- format
- Format of new PDF document.
| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | Thrown if format is Pdf_A. Use ConvertDocument(PdfDocumentConformance) method to convert document to PDF/A. |
This constructor opens an existing or creates new PDF document in read-write mode.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5