SetMacroHyperlinkClick
Método IHyperlinkManager.SetMacroHyperlinkClick
Establecer un hipervínculo de macro al hacer clic.
public IHyperlink SetMacroHyperlinkClick(string macroName)
Parámetro | Tipo | Descripción |
---|---|---|
macroName | String | Nombre 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
- interface IHyperlink
- interface IHyperlinkManager
- namespace Aspose.Slides
- assembly Aspose.Slides