Free Support Forum - aspose.com

Linking to another location?

does anyone have an idea or code to link to another location within ppt? looks like MS PPT supports this; does ASPOSE support this function also?

basically, i like to have a link from one ppt slide to another. so the user can easily navigate from one slide to another.

any ideas?

thanks

joon

Each shape contains Link property which you can use.

// simple jump to Next or Previous slides
Link link = shape.AddLink();
link.SetJump(LinkJumpType.NextSlide);

// link to any slide in a presentation
Link link = shape.AddLink();
link.SetInternalHyperlink(pres.GetSlideByPosition(23));

// web link
Link link = shape.AddLink();
link.SetExternalHyperlink(“http://www.aspose.com”);

sweet.

thanks i will give it a try.

joon