ImageEn, unit iexPdfiumCore

TPdfAnnotationList.NewLinkAnnotation

TPdfAnnotationList.NewLinkAnnotation

Declaration

function NewLinkAnnotation(const R: TDRect; const LinkURI: AnsiString): Boolean;

Description

Adds a link annotation to the page at the specified position.
LinkURI should be a value, such as 'http://www.ImageEn.com'

Note: Link annotations are not visible

Demo

Demo  Demos\PDF\PDFAnnotations\PdfAnnotations.dpr

Example

// Add a link annotation to the page
ImageEnView1.PdfViewer.Annotations.NewLinkAnnotation( R, 'http://www.ImageEn.com' );

See Also

NewTextAnnotation
NewAnnotation