rvico TRichView Reference | Item Types | Label

TRVLabelItemInfo

Properties   Methods

Top  Previous  Next

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)

Hierarchy

TObject

TPersistent

TCustomRVItemInfo

TRVNonTextItemInfo

TRVRectItemInfo

Properties

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.

Related Properties of TRVStyle

FieldHighlightColor – color for highlighting label items (overrides background color specified in the text style)

FieldHighlightType specifies when to highlight label items.

Inherited Classes

The following item types are inherited from this class:

TRVSeqItemInfo (numbered sequences);

TRVEndNoteItemInfo (endnote);

TRVFootnoteItemInfo (footnote);

TRVNoteReferenceItemInfo (reference to the parent footnote or endnote).

See Also...

Demos:

Demos\Delphi\Assorted\Fields\MailMerge-LabelItems\

Demos\CBuilder\Assorted\Fields\MailMerge-LabelItems\


TRichView © trichview.com