Click or drag to resize

IStyleCollection Interface

Represents a collection of [!:Spire.Doc.IStyle] objects.

Namespace: Spire.Doc.Interface
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public interface IStyleCollection : ICollectionBase, 
	IEnumerable

The IStyleCollection type exposes the following members.

Properties
Name Description
Public property Count
Gets the number of items in collection.
(Inherited from ICollectionBase .)
Public property Item
Gets the [!:Spire.Doc.IStyle] at the specified index.
Top
Methods
Name Description
Public method Add
Adds the specified style.
Public method FindByName(String)
Finds a first style with specified style name
Public method FindByName(String, StyleType)
Finds a style by style name and style type
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable .)
Top
See Also