InternalHyperlink






for(int i = 0; i < pres.Slides.Count; i++)

{

Slide slide = pres.SlidesIdea;

for(int j = 0; j < slide.Shapes.Count; j++)

{

Shape shape = slide.Shapes[j];

if (shape is TextFrame)

{

TextFrame tf = (TextFrame)shape;

if (tf != null)

{

if (tf.Links.Count > 0)

{

foreach(Link link in tf.Links)

if ((link.ExternalHyperlink != null) | (link.InternalHyperlink != -1))

// InternalHyperlink isn’t working
}

}

}

}
}



TextFrame that has only InternalHyperlink always return 0 in tf.Links.Count.

Dear CAV,

Are you sure? Did you create InternalHyperlink in the text or for the whole frame?

I just created hyperlink in the text and Links.Count eq. 1.
But it has another bug. After saving presentation all Link.InternalHyperlink properties will be -1.

I’ve tested internalhyperlink for Placeholders Smile, but it doesn’t have link.