rvico TRichView Reference | TRVStyle | TFontInfo

TFontInfo.IsEqual

Top  Previous  Next

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 and Unicode properties 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.


TRichView © trichview.com