ImageEn, unit iexUserInteractions

TIEPdfViewerInteraction.GetPageLinkAt

TIEPdfViewerInteraction.GetPageLinkAt


Declaration

function GetPageLinkAt(ScrX, ScrY: Integer): Integer;


Description

Returns the page index for the link found at the specified location (in screen points), or -1 if no link is found.


Example

pageIdx := ImageEnView1.PdfViewer.GetPageLinkAt( 100, 250 );
if pageIdx = -1 then
  ShowMessage( 'Link not found' )
else
  ShowMessage( 'Link to page: ' + InToStr( pageIdx ));


See Also

- GetWebLinkAt