rvico TRichView Reference | TRichViewEdit

TCustomRichViewEdit.InsertHotPicture

Top  Previous  Next

Inserts picture with hypetext link in the position of caret.

function InsertHotPicture(const Name: TRVAnsiString; gr: TGraphic;

  VAlign: TRVVAlign): Boolean;

(introduced in version 1.5)

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 and others.

See also:

Inserting items in position of caret;
Hypertext in RichView;
Item types.


TRichView © trichview.com