API Reference > OdDb Classes > OdDbRasterImageDefFileAccessReactor Class > OdDbRasterImageDefFileAccessReactor Methods > OdDbRasterImageDefFileAccessReactor::onAttach Method
OdDbRasterImageDefFileAccessReactor::onAttach Method
Syntax
C++
virtual void onAttach(const OdDbRasterImageDef*, const OdString& pPath) = 0;
Parameters 
Description 
const OdString& pPath 
[in] Input raster image file name. 
OdDbRasterImageDef 
[in] Input pointer to the affected RasterImageDef object.  

Function is called whenever a new raster image is about to attach to the current drawing. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.