TCustomRichView.GetItem

<< Click to display table of contents >>

TCustomRichView.GetItem

Returns object representing one item in document by its index ItemNo (zero-based)

function GetItem(ItemNo: Integer): TCustomRVItemInfo;

(introduced in version 1.4)

Items are indexed from 0 to ItemCount-1, GetItemStyle returns type of item. Items of subdocuments (table cells) are not included in the items range of the main document; for items in cells, use Cell.GetRVData.GetItem.

Do not free this object yourself.

Usually this method if used to get an item object for tables, labels, sequences, footnotes, endnotes, references to notes.

This method is inverse to GetItemNo.

 

See also methods:

AddItem;

GetItemStyle.

See also methods of TRichViewEdit:

GetCurrentItem;

GetCurrentItemEx.

See also properties:

ItemCount.

See also events:

OnItemAction.

See also:

Obtaining RichView items.