API Reference > OdDb Classes > OdDbRasterImageDef Class > OdDbRasterImageDef Methods > OdDbRasterImageDef::setImage Method
OdDbRasterImageDef::setImage Method
Syntax
C++
virtual void setImage(OdGiRasterImage* pImage, bool modifyDatabase = true);
Parameters 
Description 
OdGiRasterImage* pImage 
[in] Pointer to the RasterImage object.  
bool modifyDatabase = true 
[in] If and only if true, marks the associated OdDbDatabase instance as modified. 

Creates an image from the specified OdGiRasterImage object.

isLoaded() returns false if pImage is NULL. Otherwise, it returns true.

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