Free Support Forum - aspose.com

Linking the Image to Bookmark


#1

Using DocumentBuilder.InsertHyperLink() I am not able to link the image to bookmark. How can I link an Image to an existing bookmark?


#2

@nataliakravchenia

Please use Shape.HRef property to set the full hyperlink address for a shape. Below are examples of valid values for this property:

Full URI: https://www.aspose.com/ .
Full file name: C:\\My Documents\\SalesReport.doc .
Relative URI: ../../../resource.txt
Relative file name: ..\\My Documents\\SalesReport.doc .
Bookmark within another document: https://www.aspose.com/Products/Default.aspx#Suites

Bookmark within this document: #BookmakName .


#3

Thank you a lot!