HyperlinkManagerSetMacroHyperlinkClick Method

Set Macro hyperlink on a click.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public IHyperlink SetMacroHyperlinkClick(
	string macroName
)

Parameters

macroName
Type: SystemString
Name of the macro

Return Value

Type: IHyperlink
Hyperlink object IHyperlink

Implements

IHyperlinkManagerSetMacroHyperlinkClick(String)
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