TFontInfo.IsEqual

<< Click to display table of contents >>

TFontInfo.IsEqual

Compares this text style with Value.

function IsEqual(Value: TCustomRVFontInfo; IgnoreList: TRVFontInfoProperties): Boolean; override;

(introduced in version 1.3)

Parameter:

Value object to compare with this text style. The class of this object is TCustomRVFontInfo or inherited from it. If Value is TFontInfo, values of NextStyleNo property can be compared as well.

IgnoreList set of values identifying properties to ignore when comparing.

 

The following properties are always ignored when comparing styles:

Standard;

ModifiedProperties;

StyleName (if RichViewCompareStyleNames=False (default)).

 

See also:

TCustomRVFontInfo.IsEqual (method of the ancestor class);

TFontInfos.FindSuchStyle;

TParaInfo.IsEqual.