rvico TRichView Reference | TRVStyle | TFontInfos


Top  Previous  Next

Searches for style with the specified Charset.

function FindStyleWithCharset(BaseStyle: Integer; Charset: TFontCharset): Integer;

(Introduced in version 1.4)

Searches for style having all properties of the BaseStyle-th style, but Charset=Charset.

BaseStyle is an index in Items.

The following properties are ignored when comparing styles:


StyleName (if RichViewCompareStyleNames=False (default)).

Return value:

Index of style, or -1 if not found.

See also:

other TFontInfos.Find*** methods; the most universal method is FindSuchStyle;


TRichView © trichview.com