API Reference > OdRx Classes > OdRxRasterServices Class > OdRxRasterServices Methods > loadRasterImage Method > OdRxRasterServices::loadRasterImage Method (OdString &, OdUInt32 *)
OdRxRasterServices::loadRasterImage Method (OdString &, OdUInt32 *)
Syntax
C++
virtual OdGiRasterImagePtr loadRasterImage(const OdString & filename, const OdUInt32 * pFlagsChain = NULL) = 0;
Parameters 
Description 
const OdString & filename 
[in] Filename of the Raster Image file to be read.  
const OdUInt32 * pFlagsChain = NULL 
[in] Optional zero-terminated loading flag pairs array. 

Loads the specified Raster Image file.

The returned pointer is expected to be passed to OdGiViewportGeometry::rasterImageDc().

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