SetMacroHyperlinkClick

IHyperlinkManager.SetMacroHyperlinkClick method

Set Macro hyperlink on a click.

public IHyperlink SetMacroHyperlinkClick(string macroName)
Parameter Type Description
macroName String Name of the macro

Return Value

Hyperlink object IHyperlink

Examples

[C#]
using (Presentation presentation = new Presentation())
{
    IAutoShape shape = presentation.Slides[0].Shapes.AddAutoShape(ShapeType.BlankButton, 20, 20, 80, 30);
    shape.HyperlinkManager.SetMacroHyperlinkClick("MacroName");
}

See Also