Version

WorkbookStyleCollection Class Members

The following tables list the members exposed by WorkbookStyleCollection.

Public Properties
 NameDescription
Public PropertyCountGets the number of styles in the collection.  
Public PropertyItemOverloaded. Gets the style at the specified index.  
Public PropertyNormalStyleGets the default style for the workbook.  
Public Methods
 NameDescription
Public MethodAddUserDefinedStyleOverloaded. Adds new user defined style to the workbook.  
Public MethodClearClears all styles, other than the Normal style, from the collection.  
Public MethodContainsDetermines whether a style is in the collection.  
Public MethodRemoveRemoves the specified style from the collection.  
Public MethodRemoveAtRemoves the style at the specified index from the collection.  
Public MethodResetResets the collection to its original state by clearing all styles and adding in preset built in styles.  
See Also