WrappedTextWriter Constructor
- Namespace
- Kampute.DocToolkit.IO.Writers
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the WrappedTextWriter class.
protected WrappedTextWriter(TextWriter writer, bool leaveOpen)Parameters
writerTextWriter- The TextWriter to write encoded text to.
leaveOpenbool- A value indicating whether the underlying writer should be left open when the WrappedTextWriter is disposed.
Exceptions
- ArgumentNullException
- Thrown when
writerisnull.
