TX Text Control ActiveX Documentation

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

PropertyDescription
CountReturns the number of Style objects in the collection which is the number of formatting styles contained in a Text Control document.

Methods

MethodDescription
ItemReturns a specific Style object of a Styles collection.

See also:Stylesheet Programming.