<< Click to display table of contents >> TParaInfo.DefStyleNo |
Specifies the default text style for paragraphs of this style.
property DefStyleNo: Integer;
(introduced in version 1.8)
Deprecated! Use style templates to link text and paragraph properties together.
You can use the rvsDefStyle constant (= MaxInt, a large positive integer value) as a StyleNo parameter of AddNL and other methods for adding text.
It means using the paragraph's default text style, i.e. DefStyleNo property (or the 0-th style, if DefStyleNo=-1).
GetItemStyle method and CurTextStyleNo return a translated text style (they never return rvsDefStyle).
Use GetItem(i).StyleNo and ActualCurTextStyleNo to get the text style as is.
Default value:
-1