Page 1 of 1

Replace item in RVData

Posted: Tue Jun 28, 2011 1:17 pm
by charles.lambert
Hi,

I'd like to know how I could replace an item in RichViewEdit1.RVData.

For example, one of the item is a TRVGraphicItemInfo and I want to replace this image.

Regards,

- Charles

Posted: Tue Jun 28, 2011 2:43 pm
by Sergey Tkachenko
To change an image, it's not necessary to replace its item.
Use RVData.GetPictureInfo to get the main item properties, then RVData.SetPictureInfo with all parameters returned by GetPictureInfo, but with a new image.

Posted: Tue Jun 28, 2011 2:44 pm
by charles.lambert
Allright, thanks