|
TFontInfo |
Top Previous Next |
|
This is a text style. It defines attributes of text items in TRichView, TRichViewEdit, TDBRichView, TDBRichViewEdit controls. This is an item in the collection of TRVStyle.TextStyles. The class of the collection itself is TFontInfos. Unit RVStyle. Syntax TFontInfo = class(TCustomRVFontInfo) HierarchyTObject TPersistent TCollectionItem PropertiesThe most of properties are inherited from TCustomRVFontInfo. The new properties are: ▪Unicode – defines encoding for text of this style (either Unicode (UTF-16) or ANSI (with character set Charset); ▪NextStyleNo – index of text style to apply after pressing Enter in editor. MethodsIsEqual compares this text style with another one. You can use Assign method to assign: ▪TFontInfo to TFontInfo; ▪TCustomRVFontInfo to TFontInfo and vice versa; ▪TFont to TFontInfo and vice versa. See Also▪TFontInfos – class of collection of text styles; ▪TParaInfo – class of paragraph style; ▪TRVListInfo – class of list style. |