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();
}