Returns type (style) of the ItemNo-th item.
function GetItemStyle(ItemNo: Integer): Integer;
ItemNo – index of item (from 0 to ItemCount-1). Items are indexed from 0 to ItemCount-1. Items of subdocuments (table cells) are not included in the items range of the main document; for items in cells, use Cell.GetRVData.GetItemStyle.
If the item is not a text item, this function returns type of this item. It is a negative value, see rvs**** constants.
See also properties of TRichViewEdit: