Aspose::Cells::Drawing::Shape::GetFont method

Shape::GetFont method

Represents the font of shape.

Aspose::Cells::Font Aspose::Cells::Drawing::Shape::GetFont()

Examples

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

See Also