TX Text Control ActiveX

Stylesheet Programming

Topic

In code, formatting styles are OLE Automation objects. A Styles collection holds every style of a document, and each of its members is a Style object whose properties set fonts, paragraphs, frames, tabs and lists.

You get the collection from the TXTextControl.Styles property.

Controls and Objects

MemberDescription
StyleA Style object is an OLE Automation object that represents a formatting style.
StylesA Styles collection object is an OLE Automation object whose members represent all formatting styles a TXTextControl document contains.

Properties

MemberDescription
TXTextControl.StylesReturns a collection of all formatting styles in a document.