rvico TRichView Reference | TRichView


Top  Previous  Next

Returns the selected image

function GetSelectedImage: TGraphic;

This method returns image, if the selection consist only of one image. If there is nothing selected, or not only image is selected, this method returns nil.

The method returns image owned by RichView, not a copy of it. So do not destroy this image.


This method must be called only when the document is formatted.


See also:

Working with selection.

TRichView © trichview.com