@Nithish_kumar Getting data from an anchor base somehow it’s a little bit difficult. To get exact data we need to spend too many hours on anchor based. To set AnchorPosition find the exact location of an anchor that you have selected otherwise put it as Auto because some format of PDF files are able to extract data in Auto position but some format needs to be set exact AnchorPosition.
I hope this information will help you to get your output.
Regards, Thanks