API Reference > Extension Classes > ExServices Classes > ExRasterModule Class > ExRasterModule Methods > loadRasterImage Method > ExRasterModule::loadRasterImage Method (OdString &, OdUInt32 *)
ExRasterModule::loadRasterImage Method (OdString &, OdUInt32 *)
Syntax
C++
OdGiRasterImagePtr loadRasterImage(const OdString & filename, const OdUInt32 * pFlagsChain = NULL);
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.