FontName Property

Gets or sets the name of the Font.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public virtual string Name { get; set; }

Property Value

Type: String
Examples
[C#]

Style style;
..........
Font font = style.Font;
font.Name = "Times New Roman";

[Visual Basic]

Dim style As Style
..........
Dim font As Font =  style.Font 
font.Name = "Times New Roman"
See Also