|Top Previous Next|
Text item displays text in traditional (ANSI) or Unicode encoding.
Item of this collection (TFontInfo object) completely defines all properties of this text.
Main properties of TFontInfo:
▪properties defining font, colors, background, hypertext cursors, protection, bi-di mode, and others.
Text item cannot contain:
▪CR and LF (#13 and #10) characters;
▪FF (#12) characters (see PageBreaksBeforeItems property of TCustomRichView).
Methods of TCustomRichView
The following viewer-style methods add item of this type to the end of the document:
▪multiple items: AddTextNL.
The following viewer-style methods change text of the given item
The following methods return text of the given item:
Appending text from file/stream:
Methods of TCustomRichViewEdit
The following editor-style methods insert item of this type in the position of caret:
▪single item: InsertStringTag, InsertStringATag, InsertStringWTag;
▪multiple items: InsertText, -A, -W.
The following editor-style methods change text of the given item:
The following methods return text of item at the position of caret:
The following editor-style methods insert text from files in the position of caret:
Some of the methods above can insert tabulators as well.
See also: classes for item types.
TRichView © trichview.com