ExpertXls Excel Library for .NET
AddStyle Method (styleName)
Namespaces ► ExpertXls.ExcelLib ► ExcelCellStylesCollection ► AddStyle(String)
ExpertXls Excel Library for .NET
Adds a new style to the styles collection.
Declaration Syntax

C# | Visual Basic | Visual C++

    public ExcelCellStyle AddStyle(
    	string styleName
    )

    Public Function AddStyle ( _
    	styleName As String _
    ) As ExcelCellStyle

    public:
    ExcelCellStyle^ AddStyle(
    	String^ styleName
    )

Parameters

styleName (String)
  The name of style to create.

Return Value
The newly created style

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)