ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / C1XLBook Class / DefaultFont Property

In This Topic
    DefaultFont Property
    In This Topic
    Gets or sets the default font object for the C1XLBook.
    Syntax
    'Declaration
     
    Public Property DefaultFont As XLFont
    public XLFont DefaultFont {get; set;}
    Remarks

    You can assign any font to any cell using XLStyle objects. Cells that have no associated custom styles or have styles that do not define a custom font are displayed using the book's default font.

    The DefaultFont property is initially set to 10 pt Arial.

    See Also