SetMacroHyperlinkClick

IHyperlinkManager.SetMacroHyperlinkClick method

Set Macro hyperlink on a click.

public IHyperlink SetMacroHyperlinkClick(string macroName)
ParameterTypeDescription
macroNameStringName 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