Change the HTML Link Target Type with Golang via C++
Contents
[
Hide
]
Aspose.Cells allows you to change the HTML link target type. HTML link looks like this
<a href="http://www.aspose.com/" target="_self">
As you can see the target attribute in the above HTML link is _self. You can control this target attribute using the GetLinkTargetType() property. This property takes the HtmlLinkTargetType enum which has the following values.
- HtmlLinkTargetType::Blank
- HtmlLinkTargetType::Parent
- HtmlLinkTargetType::Self
- HtmlLinkTargetType::Top
The following code illustrates the usage of GetLinkTargetType() property. It changes the link target type to blank. By default, it is the parent.