href property

ShapeBase.href property

Gets or sets the full hyperlink address for a shape.

get href(): string

Remarks

The default value is an empty string.

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.

See Also