TCustomRichViewEdit.InsertHotPicture

<< Click to display table of contents >>

TCustomRichViewEdit.InsertHotPicture

Inserts picture with hypetext link at the position of caret.

function InsertHotPicture(const Name: TRVUnicodeString;

  gr: TRVGraphic; VAlign: TRVVAlign;

  ImageWidth: TRVStyleLength = 0;

  ImageHeight: TRVStyleLength = 0: Boolean;

(introduced in version 1.5; changed in version 21)

The same as InsertPicture, but this picture will be a hypertext link.

Method type: editstyle editing-style method for insertion.

 

Return value:

True if the insertion was successful (it can fail due to protection, or when inserting in table having multicell selection). If insertion failed, TRichViewEdit destroys gr.

 

See also methods of TCustomRichView:

AddHotPicture.

See also:

Inserting items at position of caret;

Hypertext in RichView;

Item types.