Aspose::Cells::Drawing::Shape::SetFont method

Shape::SetFont method

Represents the font of shape.

void Aspose::Cells::Drawing::Shape::SetFont(const Aspose::Cells::Font &value)

Examples

Font font = shape.GetFont();
font.SetName(u"Arial");
font.SetSize(12);
font.SetColor(Color{ 0xff, 0xff, 0, 0 });
shape.SetFont(font);

See Also