[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFontFormat.ThemeFont

ThemeFont Property

ThemeFont

Gets or sets the theme font in the applied font scheme that is associated with the specified object.

Use this property to determine whether the object uses the major theme font, minor theme font, or no theme font.

Declaration
ThemeFont ThemeFont { get; set; }
Property ThemeFont As ThemeFont
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.TextFrame.TextRange.Text = "Hello";
shape.TextFrame.TextRange.Font.ThemeFont = ThemeFont.Major;
ThemeFont themeFont = shape.TextFrame.TextRange.Font.ThemeFont;