TCustomRichView.SetItemVAlign

<< Click to display table of contents >>

TCustomRichView.SetItemVAlign

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

procedure SetItemVAlign(ItemNo: Integer; VAlign: TRVVAlign);

(introduced in version 12)

Parameters:

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.SetItemVAlign.

VAlign new value of vertical alignment.

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

Method type: viewerstyle viewer-style. Requires reformatting and repainting.

See also methods:

GetItemVAlign.

See also properties:

ItemCount.

See also methods of RichViewEdit:

SetItemVAlignEd;

SetCurrentItemVAlign.

See also:

Modifying RichView items