TCustomRichView.GetItemExtraStrProperty, GetItemExtraStrPropertyEx

<< Click to display table of contents >>

TCustomRichView.GetItemExtraStrProperty, GetItemExtraStrPropertyEx

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

function GetItemExtraStrProperty(ItemNo: Integer;

  Prop: TRVExtraItemStrProperty;

  out Value: TRVUnicodeString): Boolean;

function GetItemExtraStrPropertyEx(ItemNo, Prop: Integer;

  out Value: TRVUnicodeString): Boolean;

(introduced in versions 1.9 and 15; changed in version 18)

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.GetItemExtraStrProperty[Ex].

Value receives value of the property identified by Prop.

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

In GetItemExtraStrPropertyEx, Prop's type is Integer. If Prop can be converted to TRVExtraItemStrProperty, GetItemExtraStrPropertyEx works like GetItemExtraStrProperty. In addition, it supports properties identified by rvespc*** constants

 

Return value:

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

 

See also:

SetItemExtraStrProperty[Ex];

GetItemExtraIntProperty[Ex].

See also methods of TRichViewEdit:

GetCurrentItemExtraStrProperty[Ex].