<< Click to display table of contents >>


Adds one item to the end of document.

procedure AddItem(const Text: TRVUnicodeString; Item: TCustomRVItemInfo);

(introduced in version 1.4; changed in version 18)

This is the most general method for appending items to the document. Using this method you can add items of custom types.

For items of standard types it's recommended to use other methods for appending items.

Usually this method is used for appending tables, labels, sequences, footnotes, endnotes, references to notes.

The detailed description of item types is beyond the scope of this help file. Briefly, standard item types are declared and implemented in RVItem unit. All item types are classes derived from one base class TCustomRVItemInfo.


Text item name, some text associated with this item. It must not contain CR and LF characters.

Item the item itself. Item.ParaNo defines the paragraph style of item (index in Style.ParaStyles)

Method type: viewerstyle viewer-style.

See also methods:





See also methods of TRichViewEdit:


See also:

Item types;

Other methods for appending items.