Hi Team,
I would like to have a hyperlink on a shape , which should navigate me to a shape on another page using C# in Visio
Regards,
Uday
Hi Team,
I would like to have a hyperlink on a shape , which should navigate me to a shape on another page using C# in Visio
Regards,
Uday
Can you please provide us same code on the same requirement to connect shapes on different pages
@usarigamala
Please refer to this sample code and input/output files:
Page page1 = diagram.Pages[0];
Shape shape1 = page1.Shapes[0];
Page page2 = diagram.Pages[1];
Shape shape2 = page2.Shapes[0];
Aspose.Diagram.Hyperlink hyperlink = new Aspose.Diagram.Hyperlink();
hyperlink.Name = "Link";
hyperlink.SubAddress.Value = page2.NameU + "/" + shape2.NameU;
shape1.Hyperlinks.Add(hyperlink);
Thanks.
hyperlinkfiles.zip (33.4 KB)