Procedure TWPCustomRtfEdit.DoPrepareImageforSaving(RTFData:TWPRTFDataCollectionBase; Writer:TWPCustomTextWriter; TextObject:TWPTextObj; DontSave:Boolean)

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

Description

This procedure is executed before an image object is saved. It is ideal to add code to compress the image ro to save it to file or database.