[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFontFormat.Name

Name Property

Name

Gets or sets the font name to use for the represented text.

Declaration
string Name { get; set; }
Property Name As String
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.TextFrame.TextRange.Text = "Hello";
shape.TextFrame.TextRange.Font.Name = "Arial";
string fontName = shape.TextFrame.TextRange.Font.Name;