TRVChat.GetMessageImage, GetMessageImageEx

<< Click to display table of contents >>

TRVChat.GetMessageImage, GetMessageImageEx

Returns an image attached to the specified message.

function GetMessageImage(

  Msg: TRVChatMessage): TRVGraphic;

 
function GetMessageImageEx(

  Msg: TRVChatMessage;  out Image: TRVGraphic;
  out ImageText: TRVUnicodeString): Boolean;

Input parameter:

Msg message, a reference to an item in Messages.

Output:

Image (or return value) an image attached to this message (or nil if the message does not have an attached image)

ImageText a text string associated with Image.