RadaeePDF.com :: Topic: Text Hyperlink (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Text Hyperlink

Text Hyperlink 2 years 11 months ago #7476

  • abhishekjaju
  • abhishekjaju's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
  • Karma: 0
I want to add hyperlink to particular text within the pfd.
I used method addanotateURI method but it is not working. I have purchase premium Licens
The topic has been locked.

Text Hyperlink 2 years 11 months ago #7477

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 676
  • Thank you received: 40
  • Karma: 18
Can you explain in details the problem you have?
The topic has been locked.

Text Hyperlink 2 years 11 months ago #7480

  • abhishekjaju
  • abhishekjaju's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
  • Karma: 0
When I Use AddanotaeURI Method for Hyperliking text there is one blue color rectangle added over there and nothing happen over there.

My main concern is , if in my pdf there is www.yahoo.com text avail then I want to add the hyperlink like HTML to that particular text.
How can I achieve.

Below is the code I have used for it
public void anot() {
int pageno = 2;
Page pg = m_doc.GetPage(pageno);
float rect[] = new float[4];
rect[0] = 100;// 100 to left
rect[1] = m_doc.GetPageHeight(pageno) - 20;
rect[2] = rect[0] + 80;// 80 width for link
rect[3] = rect[1] + 20;// 20 height for link.
pg.ObjsStart();

Boolean success = pg.AddAnnotURI(rect, "www.yahoo.com");
pg.Close();
}
The topic has been locked.

Text Hyperlink 2 years 11 months ago #7481

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
do you means you want a hyperlink display texts and can be clickable?
you shall add text contents on page, and then add annotation on that area.
see Page.AddContent and Page.AddAnnotURI
The topic has been locked.

Text Hyperlink 2 years 10 months ago #7491

  • abhishekjaju
  • abhishekjaju's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
  • Karma: 0
Please reply some details so it will better understanding to us . For making hyperlinked text.

Please give suggestion for the hyperlink also ,

We are taking foollowup from last 15 days but we are not getting any satisfactory answer from your end.
So please suggest us some ideal examples for the hyperlink to particular text in PDF.
Last Edit: 2 years 10 months ago by Nygashi.
The topic has been locked.
Powered by Kunena Forum