The FormattingStyleCollection class is the base class of the ParagraphStyleCollection and InlineStyleCollection classes. It implements their base functionality and the IEnumerable and the ICollection interface.

Syntax

public abstract class FormattingStyleCollection : ICollection, IEnumerable

Introduced: 10.1.

Methods

Method Description
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
Remove Removes a formatting style from a Text Control document.

Properties

Property Description
Count Gets the number of elements contained in the collection.
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false.
SyncRoot Gets an object that can be used to synchronize access to the collection.