<< Click to display table of contents >> TRVChat.GetAutoQuote, GetAutoQuoteFromItemNo |
Returns a quote from the message as a text string. The quote can be limited to a specified number of characters.
function GetAutoQuoteFromItemNo(
ItemNo: Integer): TRVUnicodeString;
function GetAutoQuoteFromItemNo(
ItemNo, MaxLength: Integer): TRVUnicodeString;
function GetAutoQuote(
Msg: TRVChatMessage): TRVUnicodeString;
function GetAutoQuote(
Msg: TRVChatMessage; MaxLength: Integer):
The message is specified either by Msg parameter (a reference to one of the items in the Messages collection) or by the ItemNo parameter (an item index in the ChatRichView document – an index of any item belonging to the message can be used).
The length of the returned value is limited either by the MaxLength parameter (for methods that have it) or by the Quote.MaxAutoQuoteLength property (for other methods).