DocFormatter.CreateMinifier Method
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates a TextWriter instance that wraps the specified writer to minimize the content for target format.
public virtual TextWriter CreateMinifier(TextWriter writer)Parameters
writerTextWriter- The TextWriter to write the minimized content to.
Returns
- TextWriter
- A TextWriter instance that wraps the specified writer for minimizing the content.

After calling this method, the caller should not write to, close, or dispose the original writer directly to ensure that the minimized content is written correctly.