Click or drag to resize

StyleCollection Class

Represents a collection of styles.
Inheritance Hierarchy
SystemObject
  SautinSoft.DocumentStyleCollection

Namespace:  SautinSoft.Document
Assembly:  SautinSoft.Document (in SautinSoft.Document.dll) Version: 5.3.6.22
Syntax
public sealed class StyleCollection : IEnumerable, 
	IEnumerable<Style>

The StyleCollection type exposes the following members.

Properties
Methods
  NameDescription
Public methodAdd
Adds a Style instance to the StyleCollection.
Public methodContains(String)
Determines whether the StyleCollection contains a Style instance with specific name.
Public methodContains(Style)
Determines whether the StyleCollection contains a specific Style instance.
Public methodGetEnumerator
Returns an enumerator that iterates through the StyleCollection.
Public methodGetOrAdd
Gets the Style that corresponds to given StyleTemplateType.
Public methodCode exampleImport(Style)
Imports (clones) the specified source style and adds into this StyleCollection.
Public methodCode exampleImport(Style, ImportSession)
Imports (clones) the specified source style and adds into this StyleCollection.
Public methodIndexOf
Determines the index of a specific Style instance in the StyleCollection.
Top
See Also