PdfDocument.CreateFile Method

PDF File Writer

PdfDocumentCreateFile Method

Create PDF document file

Namespace:  PdfFileWriter
Assembly:  PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public void CreateFile()
Remarks

The last step of document creation after all pages were constructed.

If PdfDocument was constructed with a file name, the CreateFile method will close the file after the file is written to. If the PdfDocument was constructed with a stream, the CreateFile does not close the stream. It is the user application that should close the stream after the stream was used.

See Also