MarkupWriter.WriteParagraph Method

Namespace
Kampute.DocToolkit.IO.Writers
Assembly
  • Kampute.DocToolkit.dll
MarkupWriter.WriteParagraph(Action<MarkupWriter>)Writes a paragraph in the format of the target document using an optional delegate to write the paragraph content.
MarkupWriter.WriteParagraph(string)Writes a paragraph in the format of the target document using the specified text.

MarkupWriter.WriteParagraph(Action<MarkupWriter>)

Writes a paragraph in the format of the target document using an optional delegate to write the paragraph content.
public abstract void WriteParagraph(Action<MarkupWriter> contentHandler)

Parameters

contentHandler Action<MarkupWriter>
The action to write the content of the paragraph.

MarkupWriter.WriteParagraph(string)

Writes a paragraph in the format of the target document using the specified text.
public void WriteParagraph(string text)

Parameters

text string
The text of the paragraph.