| TWPTextStyle Object Properties Methods Events |
Unit
WPRTEDefs
Declaration
TWPTextStyle = class(TObject)
Hierarchy
TObject <--TWPTextStyle
Direct subclasses
TParagraph TParagraphProperty TWPReadOleData TWPReadPictData TWPTableRowStyle
Description
The TWPTextStyle is used to store paragraph styles. The class TParagraph also inherits from this class.
The TWPRTFStyleElement which is used to store numbering and paragraph styles uses an instance of TWPTextStyle to store the properties in property TextStyle.
Usually you use the 'A' methods to read and write style properties. The procedure which is mostly used to write a property is ASet - the function which is used to read is either AGet or AGetDef. There are other methods to read and write a color value or the font name.
Please read about the data structors in the manual to get an overview about styles. The demo ParStyles is also very instructive.
| Introduced Properties |
![]() | ABaseStyle | |
![]() | ABaseStyleElement | |
![]() | ABaseStyleName | |
![]() | ABaseStyleString | |
![]() | BackgroundImage | |
![]() | BackgroundImageMode | |
![]() | CharAttrEquivalent | |
![]() | IsNumbered | |
![]() | Name | |
![]() | RTFProps | |
![]() | State | |
![]() | Style | |
![]() | StyleString |
| Introduced Methods |
| Introduced Events |
![]() | OnTextStyleGetParent |
Category
Paragraph Styles
WPTools 6 Attribute Interface
TWPTextStyle Handling
|
Copyright (C) by WP |