Adds picture-hyperlink to the end of document.
procedure AddHotPicture(const Name: TRVUnicodeString; gr: TGraphic;
ParaNo: Integer = -1; VAlign: TRVVAlign = rvvaBaseline;
(introduced in version 1.5; changed in version 18)
The same as AddPicture, but this picture will be a hypertext link.
Name – name of this hot-picture item, any string. Name must not contain CR and LF characters. TRichView does not use Names itself, they are for your own use.
gr – picture to insert. By default, this picture will be owned by TRichView control, and you must not free it. However, you can specify nonzero rvepShared extra item property, and this graphic object will be shared (you need to free it yourself after TRichView is cleared).
Rarely used images may be "deactivated", i.e. stored in a memory stream and destroyed (see RichViewMaxPictureCount). Shared images are never deactivated.
VAlign – vertical align of this picture, relative to its line, see TRVVAlign for possible values.
Tag – tag of this hot-picture item..
▪If you want to add a simple (not a hyperlink) TGraphic picture, add a picture instead.
Methods type: viewer-style.
See also methods:
See also methods of TRichViewEdit:
See also properties of TRVStyle:
Related deprecated methods:
procedure AddHotPictureTag(const Name: TRVUnicodeString;
gr: TGraphic; ParaNo: Integer;