Aspose::Cells::Drawing::Shape::SetTextOptions method

Shape::SetTextOptions method

Represents the text options of the shape.

void Aspose::Cells::Drawing::Shape::SetTextOptions(const TextOptions &value)

Examples

TextOptions opt = shape.GetTextOptions();
opt.SetColor(Color{ 0xff, 0, 0, 0xff });
opt.SetSize(8);
shape.SetTextOptions(opt);

See Also