SetMacroHyperlinkClick

Método IHyperlinkManager.SetMacroHyperlinkClick

Establecer un hipervínculo de macro al hacer clic.

public IHyperlink SetMacroHyperlinkClick(string macroName)
ParámetroTipoDescripción
macroNameStringNombre de la macro

Valor de Retorno

Objeto de hipervínculo IHyperlink

Ejemplos

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

Ver También