Skip to main content

TdxPDFPageInfo.Hyperlinks Property

Provides access to the collection of hyperlinks on the PDF document page.

Declaration

property Hyperlinks: TdxPDFHyperlinkList read;

Property Value

Type Description
TdxPDFHyperlinkList

The collection of hyperlinks on the PDF document page.

Remarks

Use the Hyperlinks field to access individual hyperlinks on the page by their indexes. You can obtain a hyperlink’s hint text string only if the hyperlink refers to an external resource. Otherwise, the hyperlink‘s Hint property returns an empty string. Refer to the TdxPDFHyperlink class description for detailed information on available options.

Note

You cannot access hyperlinks on a page if one of the following conditions is met:

  • Content extraction operations are forbidden for the loaded PDF document (the Hyperlinks field value is nil (in Delphi) or nullptr (in C++Builder)).
  • The PDF document page has no hyperlinks (the Hyperlinks.Count property returns 0).
See Also