TFontInfo

Properties   Methods

<< Click to display table of contents >>

TFontInfo

Properties   Methods

This class 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)

Hierarchy

TObject

TPersistent

TCollectionItem

TCustomRVInfo

TCustomRVFontOrParaInfo

TCustomRVFontInfo

 

Properties

The most of properties are inherited from TCustomRVFontInfo.

The new properties are:

Jump – "is this a hyperlink?"

NextStyleNo – index of text style to apply after pressing  Enter  in editor (if style templates are not used);

ModifiedProperties may (temporarily) contain a list of properties having values different from values defined in a style templates (of this text style and paragraph).

Methods

IsEqual 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.