HtmlLinkTransformer.Transform Method
- Namespace
- Kampute.DocToolkit.Formatters
- Assembly
- Kampute.DocToolkit.dll
Definition
Transforms HTML content by updating URLs according to the specified URL translator.
public void Transform(TextReader reader, TextWriter writer, IUrlTransformer urlTransformer = null)Parameters
readerTextReader- The TextReader to read the source HTML from.
writerTextWriter- The TextWriter to write the transformed HTML to.
urlTransformerIUrlTransformer optional- The optional IUrlTransformer for transforming URLs in the content.
Exceptions
- ArgumentNullException
- Thrown when
readerorwriterisnull.
