API Reference > OdDb Classes > OdDbRasterImageDefTransReactor Class > OdDbRasterImageDefTransReactor Methods > OdDbRasterImageDefTransReactor::onDeleteImage Method
OdDbRasterImageDefTransReactor::onDeleteImage Method
Syntax
C++
virtual bool onDeleteImage(const OdDbRasterImageDef* pImageDef, OdDbRasterImageDefReactor::DeleteImageEvent event, bool cancelAllowed) = 0;
Parameters 
Description 
const OdDbRasterImageDef* pImageDef 
[in] Pointer to the OdDbRasterImageDef object sending this notification.  
OdDbRasterImageDefReactor::DeleteImageEvent event 
[in] Event triggering the notification.  
bool cancelAllowed 
[in] True to enable user cancellation, false to disable. 

Returns true if and only if not cancelled.

Notification function called whenever an OdDbRasterImageDef object is about to be unloaded or erased. 

 

Event must be one of the following: 

 

Name 
Value 
OdDbRasterImageDefReactor::kUnload 
OdDbRasterImageDefReactor::kErase 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.