Aspose::Cells::Drawing::Shape::AddHyperlink method

Shape::AddHyperlink(const U16String&) method

Adds a hyperlink to the shape.

Hyperlink Aspose::Cells::Drawing::Shape::AddHyperlink(const U16String &address)
ParameterTypeDescription
addressconst U16String&Address of the hyperlink.

ReturnValue

Return the new hyperlink object.

Examples

U16String val = u"https://www.aspose.com/";
Hyperlink hyperlink = shape.AddHyperlink(val);

See Also

Shape::AddHyperlink(const char16_t*) method

Adds a hyperlink to the shape.

Hyperlink Aspose::Cells::Drawing::Shape::AddHyperlink(const char16_t *address)
ParameterTypeDescription
addressconst char16_t*Address of the hyperlink.

ReturnValue

Return the new hyperlink object.

Examples

Hyperlink hyperlink = shape.AddHyperlink(u"https://www.aspose.com/");

See Also