Aspose::Cells::Drawing::Shape::SetMacroName method
Shape::SetMacroName(const U16String&) method
Gets and sets the name of macro.
void Aspose::Cells::Drawing::Shape::SetMacroName(const U16String &value)
Examples
U16String val = u"DoWork()";
//Sets the name of macro.
if (shape.GetMacroName().IsNull())
{
shape.SetMacroName(val);
}
See Also
- Class Vector
- Class U16String
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++
Shape::SetMacroName(const char16_t*) method
Gets and sets the name of macro.
void Aspose::Cells::Drawing::Shape::SetMacroName(const char16_t *value)
Examples
//Sets the name of macro.
if (shape.GetMacroName().IsNull())
{
shape.SetMacroName(u"DoWork()");
}
See Also
- Class Vector
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++