Text of the link in the document

hi, i am using c++ api to read the contents of the document. i have a problem reading the text of the link in the document.

e.g the document text is like this —>

This is a LINK.

The word “LINK” is the actual link to other document/Database.

i am able to read "This is a " but not the word “Link”.

any idea how to read the text of the link?

thanks,

yogesh