SetMacroHyperlinkClick
HyperlinkManager.SetMacroHyperlinkClick método
Establecer hiperenlace de macro con un clic.
public IHyperlink SetMacroHyperlinkClick(string macroName)
Parámetro | Tipo | Descripción |
---|---|---|
macroName | String | Nombre de la macro |
Valor de Retorno
Objeto de hiperenlace 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");
}
Véase también
- interfaz IHyperlink
- clase HyperlinkManager
- espacio de nombres Aspose.Slides
- ensamblaje Aspose.Slides