rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.SetItemVAlignEd

Top  Previous  Next

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

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

(introduced in version 12)

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, activate inplace-editor, select the proper item in the cell  (SelSelectionBounds), and call SetItemVAlignEd of this inplace-editor. Alternatively, you can use SetCurrentItemVAlign.

Method type: editstyle editing-style, unlike SetItemVAlign.

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

When possible, use SetCurrentItemVAlign instead of this method.

 

See also methods of TCustomRichView:

GetItemVAlign;

SetItemVAlign.

See also methods:

SetCurrentItemVAlign.

See also properties:

ItemCount.

See also:

Modifying RichView items.


TRichView © trichview.com