|
TCustomRichView.GetItemText, GetItemTextA, GetItemTextW |
Top Previous Next |
|
Returns a text of text item, or a name of non-text item. function GetItemText(ItemNo: Integer): String; function GetItemTextA(ItemNo: Integer): String; function GetItemTextW(ItemNo: Integer): WideString; (Introduced in version 1.3, 1.7) ItemNo – index of the item. Items of subdocuments (table cells) are not included in the items range of the main document; for items in cells, use Cell.GetRVData.GetItemText*.
GetItemTextA always returns ANSI string:
GetItemTextW always returns Unicode string:
GetItemText: the item text is returned as it is (for Unicode text items, it returns "raw Unicode text"), without conversion, be careful.
See also: See also method of TRichViewEdit: See also: |