Styles Collection Object

A Styles collection object is an OLE Automation object whose members represent all formatting styles a Text Control document contains. The members of a Styles collection object are OLE Automation objects of the Style class. A Styles collection object can be obtained with the TXTextControl.Styles property.

Syntax

Styles

Properties

Property Description
Count Returns the number of Style objects in the collection which is the number of formatting styles contained in a Text Control document.

Methods

Method Description
Item Returns a specific Style object of a Styles collection.

See Also