<< Click to display table of contents >> TRVLabelItemInfo |
TRVLabelItemInfo is a class representing "label" in TRichView documents. This is a non-text item looking like text (but it cannot be wrapped). This is not a component. Objects of this class are created at runtime and appended to TRichView (see AddItem) or inserted into TRichViewEdit (see InsertItem). Style of this item type: rvsLabel (-200)
Unit RVLabelItem.
Syntax
TRVLabelItemInfo = class(TRVRectItemInfo)
(introduced in version 10)
TObject
TPersistent
TRVNonTextItemInfo
TRVRectItemInfo
This item displays Text using font defined in TextStyleNo. ProtectTextStyleNo can be used to protect TextStyleNo from changing.
You can set minimal possible width for this item (MinWidth) and horizontal text Alignment.
You can define Cursor for this item.
Use SetCurrentItemExtraIntPropertyEx and SetCurrentItemExtraStrPropertyEx to change properties of label items as editing operations.
▪FieldHighlightColor – color for highlighting label items (overrides background color specified in the text style)
▪FieldHighlightType specifies when to highlight label items.
The following item types are inherited from this class:
▪TRVSeqItemInfo (numbered sequences);
▪TRVEndNoteItemInfo (endnote);
▪TRVFootnoteItemInfo (footnote);
▪TRVNoteReferenceItemInfo (reference to the parent footnote or endnote).
Demos:
▪Demos\*\Assorted\Fields\MailMerge-LabelItems\