TCustomRichView.GetItemVAlign

<< Click to display table of contents >>

TCustomRichView.GetItemVAlign

Returns vertical alignment (position relative to the line) of the ItemNo-th item.

function GetItemVAlign(ItemNo: Integer): TRVVAlign;

(introduced in version 12)

Parameter:

ItemNo index of the item. 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.GetItemVAlign.

This method must not be called for text items, tables, breaks, tabs, list markers, footnotes and endnotes.

Use SetItemVAlign to change vertical alignment.

 

See also methods:

SetItemVAlign.

See also method of TRichViewEdit:

GetCurrentItemVAlign