- Posts: 40
- Thank you received: 1
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Text Hyperlink
- abhishekjaju
- Topic Author
- Offline
- Senior Member
-
Less
More
IP: 192.168.0.71
11 years 6 months ago #7476
by abhishekjaju
Text Hyperlink was created by abhishekjaju
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
I used method addanotateURI method but it is not working. I have purchase premium Licens
IP: 192.168.0.158
11 years 6 months ago #7477
by nermeen
Replied by nermeen on topic Text Hyperlink
Can you explain in details the problem you have?
- abhishekjaju
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 1
IP: 192.168.0.71
11 years 6 months ago #7480
by abhishekjaju
Replied by abhishekjaju on topic Text Hyperlink
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();
}
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();
}
IP: 192.168.0.71
11 years 6 months ago #7481
by radaee
Replied by radaee on topic Text Hyperlink
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
you shall add text contents on page, and then add annotation on that area.
see Page.AddContent and Page.AddAnnotURI
- abhishekjaju
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 40
- Thank you received: 1
IP: 192.168.0.71
11 years 6 months ago - 11 years 6 months ago #7491
by abhishekjaju
Replied by abhishekjaju on topic Text Hyperlink
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.
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: 11 years 6 months ago by Nygashi.
Time to create page: 0.436 seconds