TRVChatFileIconsProperties.PictureArchive, PictureAudio, PictureDocument, PictureDownload, PictureImage, PictureVideo

<< Click to display table of contents >>

TRVChatFileIconsProperties.PictureArchive, PictureAudio, PictureDocument, PictureDownload, PictureImage, PictureVideo

These properties allow you to set the icons for files attached to messages.

property PictureArchive: TRVPicture;
property PictureAudio: TRVPicture;
property PictureDocument: TRVPicture;
property PictureDownload: TRVPicture;
property PictureImage: TRVPicture;
property PictureVideo: TRVPicture;

An icon depends on the type of the attached file, which is determined by its extension. By default, the chat draws the icons automatically. In these properties, you can override the icons for several or all file types.

By default, these pictures are shown at their original size. If ScalePicture = True, then they are scaled to IconSize x IconSize.