An abstract Writer class for documents.

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

Syntax

C#
public abstract class DocWriter : IDocListener, 
	IElementListener
Visual Basic
Public MustInherit Class DocWriter _
	Implements IDocListener, IElementListener
Visual C++
public ref class DocWriter abstract : IDocListener, 
	IElementListener

Remarks

DocWriter is the abstract class of several writers such as PdfWriter and HtmlWriter. A DocWriter can be added as a DocListener to a certain Document by getting an instance (see method GetInstance() in the specific writer-classes). Every Element added to the original Document will be written to the stream of the listening DocWriter.

Inheritance Hierarchy

See Also