Back to Devexpress

PdfDocumentProcessor.CreateEmptyDocument Method

officefileapi-devexpress-dot-pdf-dot-pdfdocumentprocessor-dot-createemptydocument.md

latest2.8 KB
Original Source

PdfDocumentProcessor.CreateEmptyDocument Method

NameParametersDescription
CreateEmptyDocument()noneCreates an empty PDF document with no pages.
CreateEmptyDocument(Stream, PdfCreationOptions)stream, creationOptionsCreates an empty PDF with no pages and writes it to a stream. Allows you to specify compatibility and font embedding options.
CreateEmptyDocument(Stream, PdfSaveOptions, PdfCreationOptions)stream, saveOptions, creationOptionsCreates 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(Stream, PdfSaveOptions)stream, saveOptionsCreates an empty PDF document with no pages with specified save options (encryption and signature settings) and writes it to a stream.
CreateEmptyDocument(Stream)streamCreates an empty PDF document with no pages and writes it to a stream.
CreateEmptyDocument(String, PdfCreationOptions)path, creationOptionsCreates an empty PDF document with no pages using the file path and PDF creation options.
CreateEmptyDocument(String, PdfSaveOptions, PdfCreationOptions)path, saveOptions, creationOptionsCreates 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.
CreateEmptyDocument(String, PdfSaveOptions)path, saveOptionsCreates 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)pathCreates an empty PDF document with no pages using the file path.