How to create HyperlinkOnClick using Linq to xml?

Home Forums PresentationML How to create HyperlinkOnClick using Linq to xml?

This topic contains 2 replies, has 2 voices, and was last updated by  Eric White 8 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3311

    sliu
    Participant

    Hi Eric,

    I want my image on one slide to have the action to jump to a hidden slide. I don’t see PresentationBuilder provide code on this part. I used Productivity Tools to see how to do it. Here is the code generated by the tool:

    NonVisualDrawingProperties nonVisualDrawingProperties8 = new NonVisualDrawingProperties() { Id = (UInt32Value) 2U, Name = “Picture 1” };
    A.HyperlinkOnClick hyperlinkOnClick1 = new A.HyperlinkOnClick() { Id = “rId2”, Action = “ppaction://hlinksldjump” };

    nonVisualDrawingProperties8.Append(hyperlinkOnClick1);

    How can I do it using Linq to Xml instead of strong typed model?

    Thanks in advance!!!

    #3312

    sliu
    Participant

    I figured out. Thanks!

    #3336

    Eric White
    Keymaster

    Awesome! Glad you got it working!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.