MarkupWriter.WriteEmphasis Method

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

MarkupWriter.WriteEmphasis(Action<MarkupWriter>)

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

Parameters

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

MarkupWriter.WriteEmphasis(string)

Writes an emphasis in the format of the target document using the specified text.
public void WriteEmphasis(string text)

Parameters

text string
The text of the emphasis.