Table of Contents

Method Hyperlink

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Hyperlink(string, Uri)

Adds hyperlink to the current paragraph.

public TextSpan Hyperlink(string text, Uri url)

Parameters

text string

The hyperlink text.

url Uri

The hyperlink URI.

Returns

TextSpan

The added text.

Remarks

The library automatically applies Hyperlink style to hyperlinks.

This method does not complete the current paragraph. I.e., a next text chunk will be placed in the same paragraph.

Exceptions

ArgumentNullException

text or url is null.