|
TCustomRichView.AddNLATag, AddNLWTag |
Top Previous Next |
|
These methods add one text item with the StyleNo-th text style and the ParaNo-th paragraph style, with the specified Tag to the end of document. procedure AddNLATag(const s: String; StyleNo, ParaNo, Tag: Integer); procedure AddNLWTag(const s: WideString; StyleNo, ParaNo, Tag: Integer); (introduced in version 1.3 and 1.4) Analogs of AddNLTag, recommended for using in Unicode applications. AddNLATag:
AddNLWTag:
Parameters: s is a text string to add. It must not contain CR, LF, TAB, FF characters (#13, #10, #9, #12). To add several lines of text use AddTextNLA or AddTextNLW. StyleNo is an index in the TextStyles collection of the linked RVStyle component, or rvsDefStyle constant. It defines font attributes for the text. If ParaNo=-1, the methods add the item to the end of the last paragraph. If ParaNo>=0, this item starts a new paragraph with the ParaNo-th style. (ParaNo is an index in the ParaStyles collection of the linked RVStyle component). It defines attributes for the new paragraph. Tag – tag of this text item.
Methods type:
See also methods:
See also methods of TRichViewEdit: See also properties of TRVStyle: See also:
|