HtmlWriter.WriteLink Method

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

Definition

Writes a hyperlink.
public override void WriteLink(Uri url, Action<MarkupWriter> linkTextHandler = null)

Parameters

url Uri
The Uri representing the link's destination.
linkTextHandler Action<MarkupWriter> optional
The action to write the text of the link, or null to use the URL as the text.

Exceptions

ArgumentNullException
Thrown when url is null.