SetMacroHyperlinkClick()
IHyperlinkManager::SetMacroHyperlinkClick(System::String) method
Set Macro hyperlink on a click.
virtual System::SharedPtr<IHyperlink> Aspose::Slides::IHyperlinkManager::SetMacroHyperlinkClick(System::String macroName)=0
Arguments
Parameter | Type | Description |
---|---|---|
macroName | System::String | Name of the macro |
Return Value
Hyperlink object IHyperlink
Remarks
System::SharedPtr<Presentation> presentation = System::MakeObject<Presentation>();
System::SharedPtr<IAutoShape> shape = presentation->get_Slides()->idx_get(0)->get_Shapes()->AddAutoShape(Aspose::Slides::ShapeType::BlankButton, 20.0f, 20.0f, 80.0f, 30.0f);
shape->get_HyperlinkManager()->SetMacroHyperlinkClick(u"MacroName");
See Also
- Typedef SharedPtr
- Class IHyperlink
- Class String
- Class IHyperlinkManager
- Namespace Aspose::Slides
- Library Aspose.Slides