Closes the document.

Namespace: iTextSharp.text
Assembly: ITextSharp (in ITextSharp.dll) Version: 4.1.6.0

Syntax

C#
public virtual void Close()
Visual Basic
Public Overridable Sub Close
Visual C++
public:
virtual void Close()

Implements

IDocListener..::..Close()()()()

Remarks

Once all the content has been written in the body, you have to close the body. After that nothing can be written to the body anymore.

See Also