API Reference > Extension Classes > ExServices Classes > OdExGiRasterImage Class > OdExGiRasterImage Methods > OdExGiRasterImage::setMetrics Method
OdExGiRasterImage::setMetrics Method
Syntax
C++
void setMetrics(OdUInt32 xPixels, OdUInt32 yPixels, OdUInt16 bitsPerPixel);
Parameters 
Description 
OdUInt32 xPixels 
[in] X pixels.  
OdUInt32 yPixels 
[in] Y pixels. 
OdUInt16 bitsPerPixel 
[in] Color depth.  

Sets the metrics of this ReasterImage object. 

 

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