TXTextControl.FormattingStyleCollection Class

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.

Introduced: 10.1.

Syntax

[C#]
public abstract class FormattingStyleCollection : ICollection, IEnumerable
[Visual Basic]
Public MustInherit Class FormattingStyleCollection
  Implements ICollection
  Implements IEnumerable

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.

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.

See Also