WPTools Manual



Search


(press enter to search)

Class TWPCharAttrInterface

Hierarchy

System.TObject | TWPCharAttrInterface

Description

TWPCharAttrInterface is the interface class to the TWPCharAttr record. It always works on one TWPCharAttr record which must be passed as 'var' to the Get and Set methods. The other var is the return value. All Get functions return a boolean value which is set to TRUE *if* the TWPCharAttr actually defines that property
TWPCharAttrInterface creates an abstraction layer between the compressed TWPCharAttr record and the program code. Please also see the similar TWPCursorCharAttrInterface which is used for read and write access to attribute at the cursor position (similar to CPAttr^ in WPTools 4).
Note: The procedure SetCharStyles is defined as class procedure which makes it possible to call it directly, not using an instance of TWPCharAttrInterface.

Methods

Used or referenced by

-Property TWPRTFProps.AttrInterface : TWPCharAttrInterface