rvico TRichView Reference | TRVStyle

TRVStyle.FindTextStyle, FindParaStyle

Top  Previous  Next

The methods search for a style like the style specified in the parameter, and add it if necessary.

function FindTextStyle(TextStyle: TFontInfo): Integer;

function FindParaStyle(ParaStyle: TParaInfo): Integer;

(introduced in version 14)

The methods are equivalent to:

TextStyles.FindSuchStyleEx(0, TextStyle, RVAllFontInfoProperties)

ParaStyles.FindSuchStyleEx(0, ParaStyle, RVAllParaInfoProperties)


TRichView © trichview.com