TRVStyle.FindTextStyle, FindParaStyle

<< Click to display table of contents >>

TRVStyle.FindTextStyle, FindParaStyle

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)