<< Click to display table of contents >> TParaInfos.FindStyleWithAlignment |
Searches for style having the specified alignment
function FindStyleWithAlignment(BaseStyle: Integer;
Alignment: TRVAlignment): Integer;
(Introduced in version 1.5)
Searches for style having all properties of the BaseStyle-th style, but Alignment=Alignment.
BaseStyle is an index in Items.
The following properties are ignored when comparing styles:
▪Standard;
▪StyleName (if RichViewCompareStyleNames=False (default)).
Return value:
Index of style or -1, if not found.
See also methods: