PdfContentEditor.ExtractLink

Extracts the collection of Link instances contained in PDF document.

public IList<Annotation> ExtractLink()

Return Value

The collection of Link objects

Examples

PdfContentEditor editor = new PdfContentEditor();
editor.BindPdf("example.pdf");
IList links = editor.ExtractLink();
foreach (object obj in links)
{
    Link link = (Link)obj;
    // work with Link instance
}

See Also