.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfDocumentProcessor.CreateEmptyDocument Method

Name Parameters Description
CreateEmptyDocument() none Creates an empty PDF document with no pages.
CreateEmptyDocument(Stream) stream Creates an empty PDF document with no pages and writes it to a stream.
CreateEmptyDocument(Stream, PdfCreationOptions) stream, creationOptions Creates an empty PDF with no pages using a stream and PDF creation options.
CreateEmptyDocument(Stream, PdfSaveOptions) stream, saveOptions Creates an empty PDF document with no pages with specified save options (encryption and signature settings) and writes it to a stream.
CreateEmptyDocument(Stream, PdfSaveOptions, PdfCreationOptions) stream, saveOptions, creationOptions Creates an empty PDF document with no pages with specified save (encryption settings and a signature) and creation options, and writes it to a stream.
CreateEmptyDocument(String) path Creates an empty PDF document with no pages using the file path.
CreateEmptyDocument(String, PdfCreationOptions) path, creationOptions Creates an empty PDF document with no pages using the file path and PDF creation options.
CreateEmptyDocument(String, PdfSaveOptions) path, saveOptions Creates an empty PDF document with no pages using the file path and PDF save options (containing encryption settings and a signature) that will be applied to the document when it is saved.
CreateEmptyDocument(String, PdfSaveOptions, PdfCreationOptions) path, saveOptions, creationOptions Creates an empty PDF document with no pages using the file path, PDF save options (containing encryption settings and a signature) that will be applied to the document when it is saved, and PDF creation options.