HtmlWriter.WriteInlineElement Method

Namespace
Kampute.DocToolkit.IO.Writers
Assembly
  • Kampute.DocToolkit.dll

Definition

Writes an inline HTML element with the specified name and attributes.
public virtual void WriteInlineElement(string tagName, IEnumerable<KeyValuePair<string, string>> attributes)

Parameters

tagName string
The name of the tag to write.
attributes IEnumerable<KeyValuePair<string, string>>
The attributes to write on the tag.

Exceptions

ArgumentException
Thrown when tagName is null or empty.
ArgumentNullException
Thrown when attributes is null.