API Reference > Other Classes > OdOleItemHandler Class > OdOleItemHandler Methods > OdOleItemHandler::embedRaster Method
OdOleItemHandler::embedRaster Method
Syntax
C++
virtual bool embedRaster(OdSmartPtr<class OdGiRasterImage> pImage, OdRxObject* pRxDb = NULL) = 0;
Parameters 
Description 
OdSmartPtr<class OdGiRasterImage> pImage 
[in] Pointer to a raster image.  
OdRxObject* pRxDb = NULL 
[in] Pointer to a database object.
 

Returns true if a raster image is successfully embedded to the OLE object, or returns false in the other case.

Embeds a raster image to this OLE object. 

 

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