IHyperlinkManagerSetMacroHyperlinkClick Method

Set Macro hyperlink on a click.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
IHyperlink SetMacroHyperlinkClick(
	string macroName
)

Parameters

macroName
Type: SystemString
Name of the macro

Return Value

Type: IHyperlink
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