MarkupWriter.WriteHeading Method
- Namespace
- Kampute.DocToolkit.IO.Writers
- Assembly
- Kampute.DocToolkit.dll
| MarkupWriter.WriteHeading(int, Action<MarkupWriter>) | Writes a heading in the format of the target document using an optional delegate to write the heading content. |
| MarkupWriter.WriteHeading(int, string) | Writes a heading in the format of the target document using the specified text. |
MarkupWriter.WriteHeading(int, Action<MarkupWriter>)
Writes a heading in the format of the target document using an optional delegate to write the heading content.
public abstract void WriteHeading(int level, Action<MarkupWriter> contentHandler)Parameters
levelint- The heading level (1-6).
contentHandlerAction<MarkupWriter>- The action to write the content of the heading.
MarkupWriter.WriteHeading(int, string)
Writes a heading in the format of the target document using the specified text.
public void WriteHeading(int level, string text)
