ImageEn, unit iexUserInteractions

TIEPdfViewer.GetWebLinkAt

TIEPdfViewer.GetWebLinkAt


Declaration

function GetWebLinkAt(ScrX, ScrY: Integer; AllowFileLinks: Boolean = False): string;


Description

Returns the destination for the link found at the specified location (in screen points), or '' if no link is found.
If AllowFileLinks is enabled, links to external files will also be returned.


Example

s := ImageEnView1.PdfViewer.GetWebLinkAt( 100, 250 );
if s = '' then
  ShowMessage( 'Link not found' )
else
  ShowMessage( 'Link: ' + s );


See Also

OnClickLink
GetText
PageToScr
GetPageLinkAt