Click or drag to resize
Pdf Library for .NET

PdfDocument Constructor

Overload List
 NameDescription
Public methodPdfDocument Initializes a new instance of the PdfDocument class, creating an empty PDF document.
Public methodCode examplePdfDocument(PdfStandard) Creates an empty PDF document that conforms to the specified PDF standard — use this when you want from-scratch output to be PDF/A (archival) or PDF/X (print exchange) compliant. Equivalent to PdfDocument when pdfStandard is Full.
Public methodPdfDocument(Stream) Initializes a new instance of the PdfDocument class by loading a PDF from a stream.
Public methodCode examplePdfDocument(String) Initializes a new instance of the PdfDocument class by loading a PDF from a file.
Public methodPdfDocument(Stream, String) Initializes a new instance of the PdfDocument class by loading a password-protected PDF from a stream.
Public methodPdfDocument(String, String) Initializes a new instance of the PdfDocument class by loading a password-protected PDF from a file.
Top
See Also