## Shape::GetMacroName method


Gets and sets the name of macro.

```cpp
U16String Aspose::Cells::Drawing::Shape::GetMacroName()
```


## Examples


```cpp
//Sets the name of macro.
if (shape.GetMacroName().IsNull())
{
    shape.SetMacroName(u"DoWork()");
}
```

## See Also

* Class [U16String](../../../aspose.cells/u16string/)
* Class [Shape](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
