TxtLoadOptions.DetectHyperlinks

TxtLoadOptions DetectHyperlinks property. Specifies either to detect hyperlinks in text. The default value is false.

Specifies either to detect hyperlinks in text. The default value is false.

public bool DetectHyperlinks { get; set; }

Examples

Shows how to enable hyperlink detection upon loading TXT documents.

TxtLoadOptions txtLoadOptions = new TxtLoadOptions();
txtLoadOptions.DetectHyperlinks = true;

Converter.Create()
    .From(MyDir + "Simple.txt", txtLoadOptions)
    .To(ArtifactsDir + "TxtLoadOptions.DetectHyperlinks.docx")
    .Execute();

See Also