With TRichViewXml can I intercept the saving and loading of image files?
The idea is not to save the images to the xml file but provides an event which allows me to save the images to anywhere. Same applies to loading of the images.
The idea is to avoid duplicated images being saved.
Thanks.
With TRichViewXml can I intercept the saving and loading of image files?
Re: With TRichViewXml can I intercept the saving and loading of image files?
Maybe `TCustomRichView.OnRVFPictureNeeded` is what I need? Does the event works when saving to/loading from xml?
Thanks.
Thanks.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: With TRichViewXml can I intercept the saving and loading of image files?
In the current version, TRichViewXML does not call any events in this case.
In the next update, OnSaveImage2 and OnImportPicture will be used.
In the next update, OnSaveImage2 and OnImportPicture will be used.
Re: With TRichViewXml can I intercept the saving and loading of image files?
Great!Sergey Tkachenko wrote: ↑Wed Jun 22, 2022 2:15 pm In the current version, TRichViewXML does not call any events in this case.
In the next update, OnSaveImage2 and OnImportPicture will be used.