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: 3.8.6.28 (3.8.6.28)
Syntax
public sealed class StyleCollection : IEnumerable<Style>, 
	IEnumerable

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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the StyleCollection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrAdd
Gets the Style that corresponds to given StyleTemplateType.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through the StyleCollection.
Top
See Also