Version

Search Results

WorkbookSaveOptions Constructor

Creates a new WorkbookSaveOptions instance. Syntax Parameters packageFactory An IPackageFactory which can be used to create an IPackage in a stream.

WorkbookStyle Class

Represents a complex format which can be applied to a cells format. Syntax Remarks When a style is applied to a cell by setting its CellFormat.Style property, the cells format will pick up subsequent changes to the format properties set by the style when it was applied. This will continue to happen until those for...

WorkbookStyleCollection Class

A collection of workbook styles, or complex formats which can be easily applied to cells in Microsoft Excel. Syntax

WorkbookStyleCollection Class Members

Public Properties Public Methods

AddUserDefinedStyle(IWorksheetCellFormat,String) Method

Adds new user defined style to the workbook. Syntax Parameters styleFormat A cell format of the style.name The name which will identify the style in Microsoft Excel. Return Value The added user defined style as a WorkbookStyle instance. Exceptions Exception Description System.ArgumentNullException name is null or ...

AddUserDefinedStyle(String) Method

Adds new user defined style to the workbook. Syntax Parameters name The name which will identify the style in Microsoft Excel. Return Value The added user defined style as a WorkbookStyle instance. Exceptions Exception Description System.ArgumentNullException name is null or empty. System.ArgumentNullException nam...

AddUserDefinedStyle Method

Adds new user defined style to the workbook. Overload List

Clear Method (WorkbookStyleCollection)

Clears all styles, other than the Normal style, from the collection. Syntax