Hi,
Please explain about way of free pictures that added to TRichview,
it's cause memory leak!
I insert many of png pictures to cell of many rows.
How can to avoid memory leak.
Thanks a lot.
What's Best way for free inserted picture
-
- Posts: 75
- Joined: Fri Jan 06, 2012 8:13 pm
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Images are freed when they are removed from TRichView (unless you set rvepSharing property for them to nonzero value, see http://www.trichview.com/help/idh_type_ ... perty.html )
I.e. after calling
RichView.Clear - clearing the whole document
table.Cells[r,c].GetRVData.Clear - clearing the cell
or deleting pictures with DeleteItems method.
I.e. after calling
RichView.Clear - clearing the whole document
table.Cells[r,c].GetRVData.Clear - clearing the cell
or deleting pictures with DeleteItems method.