TCustomRichView.GetItemExtraIntProperty, GetItemExtraIntPropertyEx

<< Click to display table of contents >>

TCustomRichView.GetItemExtraIntProperty, GetItemExtraIntPropertyEx

The methods return a value of the specified integer property for the ItemNo-th item.

function GetItemExtraIntProperty(ItemNo: Integer;

  Prop: TRVExtraItemPropertyout Value: Integer): Boolean;

function GetItemExtraIntPropertyEx(ItemNo, Prop: Integer;

  out Value: Integer): Boolean;

(introduced in versions 1.7 and 15)

ItemNo index of the item. 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.GetItemExtraIntProperty[Ex].

Value receives value of the property identified by Prop.

In GetItemExtraIntProperty, Prop's type is TRVExtraItemProperty. See information about this type for the list of properties.

In GetItemExtraIntPropertyEx, Prop's type is Integer. If Prop can be converted to TRVExtraItemProperty, GetItemExtraIntPropertyEx works like GetItemExtraIntProperty. In addition, it supports properties identified by rveipc*** constants


Return value:

True, if this item has this property. False, if not.


See also:



See also methods of TRichViewEdit: